From: Robert Kaiser Date: Sun, 18 Aug 2013 17:24:26 +0000 (+0200) Subject: fix setting of var X-Git-Tag: legacy-preGL~8 X-Git-Url: https://git-public.kairo.at/?a=commitdiff_plain;h=3beb94191771ee9c4e9b8a9de90955d84f8b9d50;p=lantea.git fix setting of var --- 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.