mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Fix invalid refs
This commit is contained in:
parent
e43d5f6f72
commit
65fe2b79e8
2 changed files with 3 additions and 2 deletions
|
@ -214,7 +214,7 @@ import alert from '../../components/alert';
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
$('#btnSelectFallbackFontPath', page).on('click.selectDirectory', function () {
|
$('#btnSelectFallbackFontPath', page).on('click.selectDirectory', function () {
|
||||||
import('directorybrowser').then(({default: directoryBrowser}) => {
|
import('../../components/directorybrowser/directorybrowser').then(({default: directoryBrowser}) => {
|
||||||
const picker = new directoryBrowser();
|
const picker = new directoryBrowser();
|
||||||
picker.show({
|
picker.show({
|
||||||
includeDirectories: true,
|
includeDirectories: true,
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
import ServerConnections from '../../components/ServerConnections'
|
||||||
import loading from '../../components/loading/loading';
|
import loading from '../../components/loading/loading';
|
||||||
import keyboardnavigation from '../../scripts/keyboardNavigation';
|
import keyboardnavigation from '../../scripts/keyboardNavigation';
|
||||||
import dialogHelper from '../../components/dialogHelper/dialogHelper';
|
import dialogHelper from '../../components/dialogHelper/dialogHelper';
|
||||||
|
@ -185,7 +186,7 @@ export class PdfPlayer {
|
||||||
};
|
};
|
||||||
|
|
||||||
const serverId = item.ServerId;
|
const serverId = item.ServerId;
|
||||||
const apiClient = window.connectionManager.getApiClient(serverId);
|
const apiClient = ServerConnections.getApiClient(serverId);
|
||||||
|
|
||||||
return new Promise((resolve, reject) => {
|
return new Promise((resolve, reject) => {
|
||||||
import('pdfjs-dist').then(({default: pdfjs}) => {
|
import('pdfjs-dist').then(({default: pdfjs}) => {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue