X-Git-Url: https://git-public.kairo.at/?p=lantea.git;a=blobdiff_plain;f=js%2Fui.js;h=2ff241f7a231aaf27b8b010dd3870a1ab620d77e;hp=bc3303d8474674363375f89e8f02060c1c823a0e;hb=68afcd960381dcd51be0161c69cad4161313c6d0;hpb=b5e49b956629a45c3af14a87790060cbf18a718a diff --git a/js/ui.js b/js/ui.js index bc3303d..2ff241f 100644 --- a/js/ui.js +++ b/js/ui.js @@ -8,8 +8,12 @@ var mainDB; var gUIHideCountdown = 0; var gWaitCounter = 0; +var gAction, gActionLabel; window.onload = function() { + gAction = document.getElementById("action"); + gActionLabel = document.getElementById("actionlabel"); + var mSel = document.getElementById("mapSelector"); for (var mapStyle in gMapStyles) { var opt = document.createElement("option"); @@ -51,6 +55,8 @@ window.onload = function() { gMapPrefsLoaded = true; resizeAndDraw(); + gActionLabel.textContent = ""; + gAction.style.display = "none"; setTracking(document.getElementById("trackCheckbox")); } else