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();
|
e.preventDefault();
|
||||||
if ($(".query_wrapper.routing").is(":visible")) {
|
if ($(".query_wrapper.routing").is(":visible")) {
|
||||||
// Routing
|
// Routing
|
||||||
OSM.routing.requestRoute(true, false);
|
OSM.routing.requestRoute(true, true);
|
||||||
} else {
|
} else {
|
||||||
// Search
|
// Search
|
||||||
$("header").addClass("closed");
|
$("header").addClass("closed");
|
||||||
|
|
Loading…
Add table
Reference in a new issue