diff --git a/src/components/imageOptionsEditor/imageOptionsEditor.js b/src/components/imageOptionsEditor/imageOptionsEditor.js index a220a65c5d..8b6b8fc99e 100644 --- a/src/components/imageOptionsEditor/imageOptionsEditor.js +++ b/src/components/imageOptionsEditor/imageOptionsEditor.js @@ -11,6 +11,7 @@ import dialogHelper from '../dialogHelper/dialogHelper'; import '../../elements/emby-checkbox/emby-checkbox'; import '../../elements/emby-select/emby-select'; import '../../elements/emby-input/emby-input'; +import template from './imageOptionsEditor.template.html'; function getDefaultImageConfig(itemType, type) { return { @@ -90,9 +91,6 @@ import '../../elements/emby-input/emby-input'; } async function showEditor(itemType, options, availableOptions) { - const response = await fetch('components/imageOptionsEditor/imageOptionsEditor.template.html'); - const template = await response.text(); - const dlg = dialogHelper.createDialog({ size: 'small', removeOnClose: true,