hide double click to add topic message if can't edit map
This commit is contained in:
parent
1810faacbe
commit
35d6dbd0b4
1 changed files with 3 additions and 1 deletions
|
@ -150,7 +150,9 @@ const JIT = {
|
||||||
|
|
||||||
if (self.vizData.length == 0) {
|
if (self.vizData.length == 0) {
|
||||||
$('#instructions div').hide()
|
$('#instructions div').hide()
|
||||||
$('#instructions div.addTopic').show()
|
if (Metamaps.Active.Map.authorizeToEdit()) {
|
||||||
|
$('#instructions div.addTopic').show()
|
||||||
|
}
|
||||||
GlobalUI.showDiv('#instructions')
|
GlobalUI.showDiv('#instructions')
|
||||||
Visualize.loadLater = true
|
Visualize.loadLater = true
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue