projects
/
lantea.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
we need to return even if position isn't set
[lantea.git]
/
js
/
map.js
diff --git
a/js/map.js
b/js/map.js
index 62a14d489db4059c6c047f10ca5f2a890ec43a56..41a413d7aa1481e1c6cdf41c9e75663c35d9afd3 100644
(file)
--- a/
js/map.js
+++ b/
js/map.js
@@
-135,10
+135,10
@@
function loadPrefs(aEvent) {
gPrefs.get("position", function(aValue) {
if (aValue) {
gPos = aValue;
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) {
});
gWaitCounter++;
gPrefs.get("center_map", function(aValue) {