X-Git-Url: https://git-public.kairo.at/?p=lantea.git;a=blobdiff_plain;f=js%2Fmap.js;h=41a413d7aa1481e1c6cdf41c9e75663c35d9afd3;hp=62a14d489db4059c6c047f10ca5f2a890ec43a56;hb=df81068a623617335f324f8db12808f0c065e35e;hpb=b911a7d66567a9912b1f131f27234a5354646fa5;ds=sidebyside diff --git a/js/map.js b/js/map.js index 62a14d4..41a413d 100644 --- a/js/map.js +++ b/js/map.js @@ -135,10 +135,10 @@ function loadPrefs(aEvent) { gPrefs.get("position", function(aValue) { if (aValue) { gPos = aValue; - gWaitCounter--; - var throwEv = new CustomEvent("prefs-step"); - gAction.dispatchEvent(throwEv); } + gWaitCounter--; + var throwEv = new CustomEvent("prefs-step"); + gAction.dispatchEvent(throwEv); }); gWaitCounter++; gPrefs.get("center_map", function(aValue) {