mirror of
https://github.com/videojs/video.js.git
synced 2024-11-24 08:42:25 +02:00
parent
1b9bd42a1c
commit
e683891183
@ -85,5 +85,5 @@ export const IS_ANY_SAFARI = (IS_SAFARI || IS_IOS) && !IS_CHROME;
|
||||
|
||||
export const TOUCH_ENABLED = Dom.isReal() && (
|
||||
'ontouchstart' in window ||
|
||||
window.DocumentTouch &&
|
||||
window.document instanceof window.DocumentTouch);
|
||||
window.navigator.maxTouchPoints ||
|
||||
window.DocumentTouch && window.document instanceof window.DocumentTouch);
|
||||
|
Loading…
Reference in New Issue
Block a user