X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/12e820c27e992572007a160936ec2051cb961b8e..286bffa3dba448f4364c6798f35003d8c6eefc4a:/app/assets/javascripts/application.js?ds=sidebyside diff --git a/app/assets/javascripts/application.js b/app/assets/javascripts/application.js index cecceaf35..83c17b6ec 100644 --- a/app/assets/javascripts/application.js +++ b/app/assets/javascripts/application.js @@ -134,4 +134,8 @@ $(document).ready(function () { $("#menu-icon").on("click", function() { $("header").toggleClass("closed"); }); + + $("nav.primary li a").on("click", function() { + $("header").toggleClass("closed"); + }); });