]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/index/search.js
Merge remote-tracking branch 'upstream/pull/5341'
[rails.git] / app / assets / javascripts / index / search.js
index 476ad30a1ac11de80ad555ecf430ca6ef61923b1..2bfbb2e1c6d4fa9bc18c7264cdbb65651785899a 100644 (file)
@@ -32,6 +32,7 @@ OSM.Search = function (map) {
 
   $(".describe_location").on("click", function (e) {
     e.preventDefault();
+    $("header").addClass("closed");
     var center = map.getCenter().wrap(),
         precision = OSM.zoomPrecision(map.getZoom()),
         lat = center.lat.toFixed(precision),