diff --git a/src/scripts/browser.js b/src/scripts/browser.js index f9e194232..a6402d139 100644 --- a/src/scripts/browser.js +++ b/src/scripts/browser.js @@ -292,7 +292,7 @@ define([], function () { } if (typeof document !== 'undefined') { - if (('ontouchstart' in window) || window.DocumentTouch && document instanceof DocumentTouch) { + if (('ontouchstart' in window) || (navigator.MaxTouchPoints > 0)) { browser.touch = true; } }