1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Fix maxTouchPoints

This commit is contained in:
MrTimscampi 2020-04-03 21:32:19 +02:00
parent aeb654f0fb
commit 20481f72b3

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;
}
}