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

rename class name for ImageOptionsEditor

This commit is contained in:
grafixeyehero 2023-07-13 03:27:09 +03:00
parent ea9e046d7f
commit 3307ea16cb
2 changed files with 25 additions and 27 deletions

View file

@ -80,7 +80,8 @@ function saveValues(context, options) {
});
}
function showEditor(itemType, options, availableOptions) {
class ImageOptionsEditor {
show(itemType, options, availableOptions) {
const dlg = dialogHelper.createDialog({
size: 'small',
removeOnClose: true,
@ -100,12 +101,7 @@ function showEditor(itemType, options, availableOptions) {
dlg.querySelector('.btnCancel').addEventListener('click', function () {
dialogHelper.close(dlg);
});
}
export class editor {
constructor() {
this.show = showEditor;
}
}
export default editor;
export default ImageOptionsEditor;

View file

@ -1,5 +1,7 @@
<div class="formDialogHeader">
<button type="button" is="paper-icon-button-light" class="btnCancel autoSize" tabindex="-1" title="${ButtonBack}"><span class="material-icons arrow_back" aria-hidden="true"></span></button>
<button type="button" is="paper-icon-button-light" class="btnCancel autoSize" tabindex="-1" title="${ButtonBack}">
<span class="material-icons arrow_back" aria-hidden="true"></span>
</button>
<h3 class="formDialogHeaderTitle">
${HeaderImageOptions}
</h3>