Update index.js
This commit is contained in:
parent
f41ece6f1c
commit
afa0cc96b9
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ const Map = {
|
||||||
var map = Active.Map
|
var map = Active.Map
|
||||||
var mapper = Active.Mapper
|
var mapper = Active.Mapper
|
||||||
|
|
||||||
document.title = map.attributes.name + ' | Metamaps'
|
document.title = map.get('name') + ' | Metamaps'
|
||||||
|
|
||||||
// add class to .wrapper for specifying whether you can edit the map
|
// add class to .wrapper for specifying whether you can edit the map
|
||||||
if (map.authorizeToEdit(mapper)) {
|
if (map.authorizeToEdit(mapper)) {
|
||||||
|
|
Loading…
Reference in a new issue