mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-09 04:25:38 +00:00
Bug 773460; IsLinux should be false for Android. r=roc
--HG-- extra : rebase_source : ddc09bd2ad7b380d42fbefe34f2fc2e2fc9b5a39
This commit is contained in:
parent
4b498591db
commit
9e3416cd5c
@ -20,7 +20,8 @@ function IsD2DEnabled() {
|
||||
}
|
||||
|
||||
function IsLinux() {
|
||||
return navigator.platform.indexOf("Linux") == 0;
|
||||
return navigator.platform.indexOf("Linux") == 0 &&
|
||||
navigator.appVersion.indexOf("Android") == -1;
|
||||
}
|
||||
|
||||
function IsMacOSX10_5orOlder() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user