]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/index/history.js
Remove unused .current from primary nav
[rails.git] / app / assets / javascripts / index / history.js
index e8d912685f0aae2b73808ed2b339947043838ccf..c6ba0c2edc9831853eedfec9f533531d71d5f341 100644 (file)
@@ -146,7 +146,6 @@ OSM.History = function (map) {
   }
 
   page.pushstate = page.popstate = function (path) {
-    $("#history_tab").addClass("current");
     OSM.loadSidebarContent(path, page.load);
   };
 
@@ -165,8 +164,6 @@ OSM.History = function (map) {
   page.unload = function () {
     map.removeLayer(group);
     map.off("moveend", update);
-
-    $("#history_tab").removeClass("current");
   };
 
   return page;