From df81068a623617335f324f8db12808f0c065e35e Mon Sep 17 00:00:00 2001 From: Robert Kaiser Date: Sun, 7 Jul 2013 23:52:10 +0200 Subject: [PATCH] we need to return even if position isn't set --- js/map.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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) { -- 2.43.0