]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/application.js
Add donation attribution to mapnik layer
[rails.git] / app / assets / javascripts / application.js
index e244d8b30f6cffabc9c456ddc3dd3ec1bff3d166..cecceaf3563b9bf210cff59669e4a7c73b1d1373 100644 (file)
@@ -130,4 +130,8 @@ function minimiseMap() {
 $(document).ready(function () {
   var auth_token = $("meta[name=csrf-token]").attr("content");
   $("form input[name=authenticity_token]").val(auth_token);
+
+  $("#menu-icon").on("click", function() {
+    $("header").toggleClass("closed");
+  });
 });