Fix maxTouchPoints
This commit is contained in:
parent
aeb654f0fb
commit
20481f72b3
1 changed files with 1 additions and 1 deletions
|
@ -292,7 +292,7 @@ define([], function () {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (typeof document !== 'undefined') {
|
if (typeof document !== 'undefined') {
|
||||||
if (('ontouchstart' in window) || (navigator.MaxTouchPoints > 0)) {
|
if (('ontouchstart' in window) || (navigator.maxTouchPoints > 0)) {
|
||||||
browser.touch = true;
|
browser.touch = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue