X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/09b9108e7af5d45bac4904f7c8bafe468b33f345..b264e380c283709658fea48d60718ded8f9c4785:/app/assets/javascripts/index.js diff --git a/app/assets/javascripts/index.js b/app/assets/javascripts/index.js index b79c33088..9220e1205 100644 --- a/app/assets/javascripts/index.js +++ b/app/assets/javascripts/index.js @@ -398,7 +398,7 @@ $(function () { } }); - $(document).on("click", "#sidebar_content .btn-close", function () { + $(document).on("click", "#sidebar .sidebar-close-controls button", function () { OSM.router.route("/" + OSM.formatHash(map)); }); });