Remove unused .current from primary nav
This commit is contained in:
parent
88f0d73230
commit
e4cce5d539
3 changed files with 3 additions and 9 deletions
|
@ -58,7 +58,6 @@ OSM.Export = function (map) {
|
|||
}
|
||||
|
||||
page.pushstate = page.popstate = function (path) {
|
||||
$("#export_tab").addClass("current");
|
||||
OSM.loadSidebarContent(path, page.load);
|
||||
};
|
||||
|
||||
|
@ -79,8 +78,6 @@ OSM.Export = function (map) {
|
|||
map
|
||||
.removeLayer(locationFilter)
|
||||
.off("moveend", update);
|
||||
|
||||
$("#export_tab").removeClass("current");
|
||||
};
|
||||
|
||||
return page;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue