diff --git a/res/app/components/stf/browser-info/browser-info-service.js b/res/app/components/stf/browser-info/browser-info-service.js index f166772d..e1ec2ab7 100644 --- a/res/app/components/stf/browser-info/browser-info-service.js +++ b/res/app/components/stf/browser-info/browser-info-service.js @@ -31,10 +31,6 @@ module.exports = function BrowserInfoServiceFactory() { return windowWidth < 800 }) - addTest('mobile', function() { - return !!(service.small && service.touch) - }) - addTest('os', function() { var ua = navigator.userAgent if (ua.match(/Android/i)) { @@ -48,6 +44,10 @@ module.exports = function BrowserInfoServiceFactory() { } }) + addTest('mobile', function() { + return !!(service.small && service.touch && (service.os !== 'pc')) + }) + addTest('webgl', function() { var canvas = createElement('canvas') if ('supportsContext' in canvas) {