X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/85e6bbde9bd5c9140dd32c1f8c3306dd8f34accb..6d5ce8d49293afa79a86300f38d698426557b9a8:/app/assets/javascripts/application.js?ds=sidebyside diff --git a/app/assets/javascripts/application.js b/app/assets/javascripts/application.js index 493c03d91..cecceaf35 100644 --- a/app/assets/javascripts/application.js +++ b/app/assets/javascripts/application.js @@ -17,9 +17,7 @@ //= require oauth //= require piwik //= require map -//= require sidebar //= require richtext -//= require geocoder //= require querystring var querystring = require('querystring-component'); @@ -132,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"); + }); });