From 3beb94191771ee9c4e9b8a9de90955d84f8b9d50 Mon Sep 17 00:00:00 2001 From: Robert Kaiser Date: Sun, 18 Aug 2013 19:24:26 +0200 Subject: [PATCH] fix setting of var --- js/map.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/map.js b/js/map.js index 5e65ed6..e0f0a39 100644 --- 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. -- 2.43.0