This commit is contained in:
MrTimscampi 2020-08-16 20:24:45 +02:00 committed by vitorsemeano
parent 96eccd2ecd
commit 7d9208e951
143 changed files with 1000 additions and 1008 deletions

View file

@ -7,7 +7,7 @@
import datetime from '../../scripts/datetime';
import imageLoader from '../images/imageLoader';
import connectionManager from 'jellyfin-apiclient';
import { ConnectionManager } from 'jellyfin-apiclient';
import layoutManager from '../layoutManager';
import browser from '../../scripts/browser';
@ -48,7 +48,7 @@ import browser from '../../scripts/browser';
let html = '';
let itemsInRow = 0;
const apiClient = window.connectionManager.getApiClient(item.ServerId);
const apiClient = ConnectionManager.getApiClient(item.ServerId);
for (let i = 0, length = chapters.length; i < length; i++) {
if (options.rows && itemsInRow === 0) {