Update index.js

This commit is contained in:
Robert Best 2016-09-23 16:06:28 -04:00 committed by GitHub
parent f41ece6f1c
commit afa0cc96b9

View file

@ -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)) {