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 5e65ed65080ebea906e537469fe208699e5773bd..e0f0a39708ae98a301b02bddb4281c0af884455c 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.