Remove unused .current from primary nav

This commit is contained in:
Anton Khorev 2023-12-04 05:10:41 +03:00
parent 88f0d73230
commit e4cce5d539
3 changed files with 3 additions and 9 deletions

View file

@ -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;

View 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;