don't execute if there's no map
This commit is contained in:
parent
1c988b5a8f
commit
a3b4f96d37
1 changed files with 2 additions and 0 deletions
|
@ -567,6 +567,8 @@ Metamaps.Map.InfoBox = {
|
||||||
addTypeahead: function () {
|
addTypeahead: function () {
|
||||||
var self = Metamaps.Map.InfoBox
|
var self = Metamaps.Map.InfoBox
|
||||||
|
|
||||||
|
if (!Metamaps.Active.Map) return
|
||||||
|
|
||||||
// for autocomplete
|
// for autocomplete
|
||||||
var collaborators = {
|
var collaborators = {
|
||||||
name: 'collaborators',
|
name: 'collaborators',
|
||||||
|
|
Loading…
Add table
Reference in a new issue