mirror of
https://github.com/videojs/video.js.git
synced 2025-12-13 23:56:00 +02:00
committed by
Gary Katsevman
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);
|
||||
|
||||
Reference in New Issue
Block a user