]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/index.js
Add spinner while awaiting route
[rails.git] / app / assets / javascripts / index.js
index 8f989deaf84ad40fac9ca0849ce1d3b530661bf7..fc8e8ff465c662e2b8deb46304f51e3f6702fd65 100644 (file)
@@ -327,7 +327,7 @@ $(document).ready(function () {
     e.preventDefault();
     if ($(".query_wrapper.routing").is(":visible")) {
       // Routing
-      OSM.routing.requestRoute(true);
+      OSM.routing.requestRoute(true, false);
     } else {
       // Search
       $("header").addClass("closed");