Merge pull request #662 from metamaps/fix/no-add-topic-message-if-logged-out
hide double click to add topic message if can't edit map
This commit is contained in:
commit
997a4b7329
1 changed files with 3 additions and 1 deletions
|
@ -150,7 +150,9 @@ const JIT = {
|
|||
|
||||
if (self.vizData.length == 0) {
|
||||
$('#instructions div').hide()
|
||||
$('#instructions div.addTopic').show()
|
||||
if (Metamaps.Active.Map.authorizeToEdit()) {
|
||||
$('#instructions div.addTopic').show()
|
||||
}
|
||||
GlobalUI.showDiv('#instructions')
|
||||
Visualize.loadLater = true
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue