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

addition of defaults

This commit is contained in:
Cameron 2020-08-04 13:47:47 +01:00
parent 73bb781c6a
commit aaad59cca6
28 changed files with 36 additions and 0 deletions

View file

@ -2,6 +2,7 @@ define(['layoutManager', 'loading', 'cardBuilder', 'apphost', 'imageLoader', 'sc
'use strict';
loading = loading.default || loading;
layoutManager = layoutManager.default || layoutManager;
function renderRecordings(elem, recordings, cardOptions, scrollX) {
if (!elem) {

View file

@ -2,6 +2,7 @@ define(['layoutManager', 'cardBuilder', 'apphost', 'imageLoader', 'loading', 'sc
'use strict';
loading = loading.default || loading;
layoutManager = layoutManager.default || layoutManager;
function enableScrollX() {
return !layoutManager.desktop;

View file

@ -2,6 +2,7 @@ define(['layoutManager', 'userSettings', 'inputManager', 'loading', 'globalize',
'use strict';
loading = loading.default || loading;
layoutManager = layoutManager.default || layoutManager;
function enableScrollX() {
return !layoutManager.desktop;