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:
parent
ea9e046d7f
commit
3307ea16cb
2 changed files with 25 additions and 27 deletions
|
@ -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,
|
||||
|
@ -101,11 +102,6 @@ function showEditor(itemType, options, availableOptions) {
|
|||
dialogHelper.close(dlg);
|
||||
});
|
||||
}
|
||||
|
||||
export class editor {
|
||||
constructor() {
|
||||
this.show = showEditor;
|
||||
}
|
||||
}
|
||||
|
||||
export default editor;
|
||||
export default ImageOptionsEditor;
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue