Fix maxTouchPoints

This commit is contained in:
MrTimscampi
2020-04-03 21:32:19 +02:00
parent aeb654f0fb
commit 20481f72b3
+1 -1
View File
@@ -292,7 +292,7 @@ define([], function () {
}
if (typeof document !== 'undefined') {
if (('ontouchstart' in window) || (navigator.MaxTouchPoints > 0)) {
if (('ontouchstart' in window) || (navigator.maxTouchPoints > 0)) {
browser.touch = true;
}
}