From f41ece6f1c5a7e59c560518a1b57d81a31df0398 Mon Sep 17 00:00:00 2001 From: Robert Best Date: Fri, 23 Sep 2016 15:47:37 -0400 Subject: [PATCH] Update index.js --- frontend/src/Metamaps/Map/index.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/frontend/src/Metamaps/Map/index.js b/frontend/src/Metamaps/Map/index.js index 3dd1c531..5de9e061 100644 --- a/frontend/src/Metamaps/Map/index.js +++ b/frontend/src/Metamaps/Map/index.js @@ -76,6 +76,8 @@ const Map = { var map = Active.Map var mapper = Active.Mapper + document.title = map.attributes.name + ' | Metamaps' + // add class to .wrapper for specifying whether you can edit the map if (map.authorizeToEdit(mapper)) { $('.wrapper').addClass('canEditMap')