Update index.js
This commit is contained in:
parent
b8ae2c4b6a
commit
f41ece6f1c
1 changed files with 2 additions and 0 deletions
|
@ -76,6 +76,8 @@ const Map = {
|
||||||
var map = Active.Map
|
var map = Active.Map
|
||||||
var mapper = Active.Mapper
|
var mapper = Active.Mapper
|
||||||
|
|
||||||
|
document.title = map.attributes.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)) {
|
||||||
$('.wrapper').addClass('canEditMap')
|
$('.wrapper').addClass('canEditMap')
|
||||||
|
|
Loading…
Reference in a new issue