<input type="button" id="saveTrackButton" value="Save"
onclick="saveTrack();">
<input type="button" id="dumpTrackButton" value="Dump"
- onclick="saveTrackDump();" class="debugHideX">
+ onclick="saveTrackDump();" class="debugHide">
<input type="button" id="clearTrackButton" value="Clear"
onclick="clearTrack();"><br/>
<input type="checkbox" id="trackCheckbox"
areas[i].addEventListener("touchleave", uiEvHandler, false);
}
+ if (/Mozilla\/5.0 \(Mobile;/.test(navigator.useragent)) {
+ // 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();