Close small mode menu on some interactions
This commit is contained in:
parent
e717c375bc
commit
7fb432dc32
2 changed files with 4 additions and 0 deletions
|
@ -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),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue