diff --git a/src/components/nowPlayingBar/nowPlayingBar.js b/src/components/nowPlayingBar/nowPlayingBar.js index fc6624410e..ee51776ce0 100644 --- a/src/components/nowPlayingBar/nowPlayingBar.js +++ b/src/components/nowPlayingBar/nowPlayingBar.js @@ -1,7 +1,7 @@ import datetime from '../../scripts/datetime'; import { Events } from 'jellyfin-apiclient'; import browser from '../../scripts/browser'; -import imageLoader from '../../scripts/imagehelper'; +import imageLoader from '../images/imageLoader'; import layoutManager from '../layoutManager'; import { playbackManager } from '../playback/playbackmanager'; import nowPlayingHelper from '../playback/nowplayinghelper'; diff --git a/src/components/remotecontrol/remotecontrol.js b/src/components/remotecontrol/remotecontrol.js index 007f8a3eb2..3ed0444651 100644 --- a/src/components/remotecontrol/remotecontrol.js +++ b/src/components/remotecontrol/remotecontrol.js @@ -696,7 +696,7 @@ export default function () { } function savePlaylist() { - import('../playlisteditor/playlisteditor').then((playlistEditor) => { + import('../playlisteditor/playlisteditor').then(({ default: playlistEditor }) => { getSaveablePlaylistItems().then(function (items) { const serverId = items.length ? items[0].ServerId : ApiClient.serverId(); new playlistEditor({ diff --git a/src/controllers/itemDetails/index.js b/src/controllers/itemDetails/index.js index 18d03166d3..d4e41a7f04 100644 --- a/src/controllers/itemDetails/index.js +++ b/src/controllers/itemDetails/index.js @@ -1958,7 +1958,7 @@ export default function (view, params) { } function onDownloadClick() { - import('../../scripts/fileDownloader').then(({ default: fileDownloader }) => { + import('../../scripts/fileDownloader').then((fileDownloader) => { const downloadHref = getApiClient().getItemDownloadUrl(currentItem.Id); fileDownloader.download([{ url: downloadHref,