fix setting of var
authorRobert Kaiser <robert@widebook.box.kairo.at>
Sun, 18 Aug 2013 17:24:26 +0000 (19:24 +0200)
committerRobert Kaiser <robert@widebook.box.kairo.at>
Sun, 18 Aug 2013 17:24:26 +0000 (19:24 +0200)
js/map.js

index 5e65ed6..e0f0a39 100644 (file)
--- a/js/map.js
+++ b/js/map.js
@@ -3,7 +3,7 @@
  * You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 var gMapCanvas, gMapContext, gTrackCanvas, gTrackContext, gGeolocation;
-var gDebug = false;
+var gDebug = true;
 
 var gTileSize = 256;
 var gMaxZoom = 18; // The minimum is 0.
@@ -162,7 +162,7 @@ function loadPrefs(aEvent) {
       gAction.dispatchEvent(throwEv);
     });
     gWaitCounter++;
-    var trackLoadStarted = false; redrawBase = 100;
+    var trackLoadStarted = false, redrawBase = 100;
     gTrackStore.getListStepped(function(aTPoint) {
       if (aTPoint) {
         // Add in front and return new length.