hide double click to add topic message if can't edit map

This commit is contained in:
Devin Howard 2016-09-25 15:04:14 +08:00
parent 1810faacbe
commit 35d6dbd0b4

View file

@ -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
}