]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/export.js
Remove SOTM advert
[rails.git] / app / assets / javascripts / export.js
index 5debb1b075ce8c6c934c882ba471e910ddb44db7..ae1871b5021203ab5584e0e447ee6d20fd31b1d2 100644 (file)
@@ -55,12 +55,10 @@ function startExport(sidebarHtml) {
   formatChanged();
   setBounds(map.getExtent());
 
-  $("#viewanchor").removeClass("active");
-  $("#exportanchor").addClass("active");
+  $("body").removeClass("site-index").addClass("site-export");
 
   $("#sidebar").one("closed", function () {
-    $("#viewanchor").addClass("active");
-    $("#exportanchor").removeClass("active");
+    $("body").removeClass("site-export").addClass("site-index");
 
     clearBox();
     clearMarker();