X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/aa20398cea1c212f27d9004170bdc0aee4d8f854..0a040c7a79512ceb1120b88723a6a5ac146ef1c5:/app/assets/javascripts/application.js diff --git a/app/assets/javascripts/application.js b/app/assets/javascripts/application.js index e244d8b30..cecceaf35 100644 --- a/app/assets/javascripts/application.js +++ b/app/assets/javascripts/application.js @@ -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"); + }); });