X-Git-Url: https://git-public.kairo.at/?p=lantea.git;a=blobdiff_plain;f=js%2Fui.js;h=9c97cd600891127443be8b07c66d8b686113cd42;hp=6566a86254e010bdd15ba67fab587d8c7dab346e;hb=8e901dce32e1d203d8400a0be806dc0c36b67665;hpb=c537874767ee78334e65c6a0532358ac724f857f diff --git a/js/ui.js b/js/ui.js index 6566a86..9c97cd6 100644 --- a/js/ui.js +++ b/js/ui.js @@ -31,6 +31,11 @@ window.onload = function() { areas[i].addEventListener("touchleave", uiEvHandler, false); } + if (navigator.platform.length == "") { + // For Firefox OS, don't display the "save" button. + // Do this by setting the debugHide class for testing in debug mode. + document.getElementById("saveTrackButton").classList.add("debugHide"); + } initDB(); initMap();