mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
remove mono compiler directives
This commit is contained in:
parent
e53b184e77
commit
7ad3b6c430
25 changed files with 190 additions and 211 deletions
|
@ -1270,6 +1270,16 @@ $(function () {
|
|||
e.preventDefault();
|
||||
return false;
|
||||
});
|
||||
|
||||
function isTouchDevice() {
|
||||
return (('ontouchstart' in window)
|
||||
|| (navigator.MaxTouchPoints > 0)
|
||||
|| (navigator.msMaxTouchPoints > 0));
|
||||
}
|
||||
|
||||
if (isTouchDevice()) {
|
||||
$(document.body).addClass('touch');
|
||||
}
|
||||
});
|
||||
|
||||
Dashboard.jQueryMobileInit();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue