]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/index/export.js
Don't send comment text when reopening a note
[rails.git] / app / assets / javascripts / index / export.js
index b9050d8a12a01a95f5678841fc57c31c6aad8d10..a953920f895d8fe62cefafdd3927f90f040ea62d 100644 (file)
@@ -58,7 +58,6 @@ OSM.Export = function (map) {
   }
 
   page.pushstate = page.popstate = function (path) {
   }
 
   page.pushstate = page.popstate = function (path) {
-    $("#export_tab").addClass("current");
     OSM.loadSidebarContent(path, page.load);
   };
 
     OSM.loadSidebarContent(path, page.load);
   };
 
@@ -79,8 +78,6 @@ OSM.Export = function (map) {
     map
       .removeLayer(locationFilter)
       .off("moveend", update);
     map
       .removeLayer(locationFilter)
       .off("moveend", update);
-
-    $("#export_tab").removeClass("current");
   };
 
   return page;
   };
 
   return page;