Fix Firefox OS detection. Fix #435
This commit is contained in:
parent
160ae729dd
commit
1d6973f6eb
@ -36,7 +36,7 @@ Config.Navigator = {
|
||||
osX: (navigator.platform || '').toLowerCase().indexOf('mac') != -1 ||
|
||||
(navigator.userAgent || '').toLowerCase().indexOf('mac') != -1,
|
||||
retina: window.devicePixelRatio > 1,
|
||||
ffos: navigator.userAgent.match(/mobi.+Gecko/i),
|
||||
ffos: navigator.userAgent.search(/mobi.+Gecko/i) != -1,
|
||||
touch: screen.width <= 768,
|
||||
mobile: screen.width < 480
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user