projects
/
lantea.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b91b74a
)
make check for Firefox OS even nicer
author
Robert Kaiser
<kairo@kairo.at>
Tue, 23 Oct 2012 13:31:23 +0000
(15:31 +0200)
committer
Robert Kaiser
<kairo@kairo.at>
Tue, 23 Oct 2012 13:31:23 +0000
(15:31 +0200)
js/ui.js
patch
|
blob
|
blame
|
history
diff --git
a/js/ui.js
b/js/ui.js
index 7fb08b15f66ccdb0fed2fd1fc7836bb4a994b36b..9c97cd600891127443be8b07c66d8b686113cd42 100644
(file)
--- a/
js/ui.js
+++ b/
js/ui.js
@@
-31,7
+31,7
@@
window.onload = function() {
areas[i].addEventListener("touchleave", uiEvHandler, false);
}
- if (
/Mozilla\/5.0 \(Mobile;/.test(navigator.useragent)
) {
+ 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");