Zoom to fit when submitting form
This commit is contained in:
parent
3ef8024b1d
commit
926c7b56a8
1 changed files with 1 additions and 1 deletions
|
@ -327,7 +327,7 @@ $(document).ready(function () {
|
|||
e.preventDefault();
|
||||
if ($(".query_wrapper.routing").is(":visible")) {
|
||||
// Routing
|
||||
OSM.routing.requestRoute(true, false);
|
||||
OSM.routing.requestRoute(true, true);
|
||||
} else {
|
||||
// Search
|
||||
$("header").addClass("closed");
|
||||
|
|
Loading…
Add table
Reference in a new issue