X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/85e6bbde9bd5c9140dd32c1f8c3306dd8f34accb..537d72b0f66562475808249a1a2ef3223df5dd52:/app/assets/javascripts/application.js 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"); + }); });