mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
change browser object
This commit is contained in:
parent
27c3bdc042
commit
7b5f61d2d2
32 changed files with 106 additions and 106 deletions
|
@ -14,7 +14,7 @@
|
|||
|
||||
var view = items[i];
|
||||
|
||||
if (AppInfo.isNativeApp && $.browser.safari && view.CollectionType == 'livetv') {
|
||||
if (AppInfo.isNativeApp && browserInfo.safari && view.CollectionType == 'livetv') {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
@ -52,7 +52,7 @@
|
|||
|
||||
function enableScrollX() {
|
||||
|
||||
return $.browser.mobile && AppInfo.enableAppLayouts;
|
||||
return browserInfo.mobile && AppInfo.enableAppLayouts;
|
||||
}
|
||||
|
||||
function getThumbShape() {
|
||||
|
@ -374,7 +374,7 @@
|
|||
|
||||
html += '</div>';
|
||||
|
||||
var scrollX = enableScrollX() && $.browser.safari && screenWidth > 800;
|
||||
var scrollX = enableScrollX() && browserInfo.safari && screenWidth > 800;
|
||||
|
||||
if (scrollX) {
|
||||
html += '<div class="hiddenScrollX itemsContainer homeTopViews">';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue