forgot one prefs step
[lantea.git] / js / map.js
index 716a0166db49a22a0278a605f73e20d20515766f..62a14d489db4059c6c047f10ca5f2a890ec43a56 100644 (file)
--- a/js/map.js
+++ b/js/map.js
@@ -136,6 +136,8 @@ function loadPrefs(aEvent) {
       if (aValue) {
         gPos = aValue;
         gWaitCounter--;
+        var throwEv = new CustomEvent("prefs-step");
+        gAction.dispatchEvent(throwEv);
       }
     });
     gWaitCounter++;