mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Remove deprecated touch detection
This commit is contained in:
parent
44aa8e5ccb
commit
511b151d71
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) || window.DocumentTouch && document instanceof DocumentTouch) {
|
if (('ontouchstart' in window) || (navigator.MaxTouchPoints > 0)) {
|
||||||
browser.touch = true;
|
browser.touch = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue