put a log message in when loading the pref
authorRobert Kaiser <kairo@kairo.at>
Fri, 1 May 2015 01:26:52 +0000 (03:26 +0200)
committerRobert Kaiser <kairo@kairo.at>
Fri, 1 May 2015 01:26:52 +0000 (03:26 +0200)
js/map.js

index c7a69e835d56ed86f3548dbcc6930b4cb99be27a..f214881ee9084276418f68d7b72707b87cc90574 100644 (file)
--- a/js/map.js
+++ b/js/map.js
@@ -169,6 +169,7 @@ function loadPrefs(aEvent) {
     gAction.addEventListener("prefs-step", loadPrefs, false);
     gWaitCounter++;
     gPrefs.get("active_map_style", function(aValue) {
     gAction.addEventListener("prefs-step", loadPrefs, false);
     gWaitCounter++;
     gPrefs.get("active_map_style", function(aValue) {
+      console.log("active_map_style: >>" + aValue + "<<");
       if (aValue && gMapStyles[aValue]) {
         gMap.activeMap = aValue;
       }
       if (aValue && gMapStyles[aValue]) {
         gMap.activeMap = aValue;
       }