Merge branch 'pr/436'
This commit is contained in:
commit
117b2cba3d
@ -36,7 +36,7 @@ Config.Navigator = {
|
|||||||
osX: (navigator.platform || '').toLowerCase().indexOf('mac') != -1 ||
|
osX: (navigator.platform || '').toLowerCase().indexOf('mac') != -1 ||
|
||||||
(navigator.userAgent || '').toLowerCase().indexOf('mac') != -1,
|
(navigator.userAgent || '').toLowerCase().indexOf('mac') != -1,
|
||||||
retina: window.devicePixelRatio > 1,
|
retina: window.devicePixelRatio > 1,
|
||||||
ffos: navigator.userAgent.match(/mobi.+Gecko/i),
|
ffos: navigator.userAgent.search(/mobi.+Gecko/i) != -1,
|
||||||
touch: screen.width <= 768,
|
touch: screen.width <= 768,
|
||||||
mobile: screen.width < 480
|
mobile: screen.width < 480
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user