Browse Source

Fix Firefox OS detection. Fix #435

master
Philipp Rustemeier 10 years ago
parent
commit
1d6973f6eb
  1. 2
      app/js/lib/config.js

2
app/js/lib/config.js

@ -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…
Cancel
Save