+ // For now, only show the upload UI on Firefox OS.
+ document.getElementById("uploadTrackButton").classList.remove("debugHide");
+ // Without OAuth, the login data is useless
+ //document.getElementById("uploadSettingsArea").classList.remove("debugHide");
+ }
+
+ if (gDebug) {
+ gOSMAPIURL = "http://api06.dev.openstreetmap.org/";