]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/edit.js
Stop spurious +/- signs appearing in the zoom slider
[rails.git] / app / assets / javascripts / edit.js
index 7eaa24e9813ce97fab79958364ab518297ed0070..c2129e20c170a8a91470fb9c1f7390fcc7ca3f1a 100644 (file)
@@ -1,9 +1,8 @@
 function maximiseMap() {
   $("#left").hide();
-  $("#greeting").hide();
-  $("#tabnav").hide();
+  $("#top-bar").hide();
 
-  $("#content").css("top", "0px");
+  $("#content").css("margin-top", "0px");
   if ($("html").attr("dir") == "ltr") {
     $("#content").css("margin-left", "0px");
   } else {
@@ -15,10 +14,9 @@ function maximiseMap() {
 
 function minimiseMap() {
   $("#left").show();
-  $("#greeting").show();
-  $("#tabnav").show();
+  $("#top-bar").show();
 
-  $("#content").css("top", "30px");
+  $("#content").css("margin-top", "30px");
   if ($("html").attr("dir") == "ltr") {
     $("#content").css("margin-left", "185px");
   } else {