]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/application.js
Eliminate edit.js
[rails.git] / app / assets / javascripts / application.js
index a0ddcf9c2b0b0b14e643f693fcfc4a6298afe8d8..493c03d9161721a1f8eff3184a68e8593e7fd106 100644 (file)
@@ -116,6 +116,14 @@ function escapeHTML(string) {
   });
 }
 
+function maximiseMap() {
+  $("#content").addClass("maximised");
+}
+
+function minimiseMap() {
+  $("#content").removeClass("maximised");
+}
+
 /*
  * Forms which have been cached by rails may have the wrong
  * authenticity token, so patch up any forms with the correct