topic view bug fix
This commit is contained in:
parent
e646585a7a
commit
bc8ce0fee4
1 changed files with 1 additions and 1 deletions
|
@ -151,7 +151,7 @@ const JIT = {
|
|||
// set up addTopic instructions in case they delete all the topics
|
||||
// i.e. if there are 0 topics at any time, it should have instructions again
|
||||
$('#instructions div').hide()
|
||||
if (Metamaps.Active.Map.authorizeToEdit(Active.Mapper)) {
|
||||
if (Active.Map && Active.Map.authorizeToEdit(Active.Mapper)) {
|
||||
$('#instructions div.addTopic').show()
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue