mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Fix more suggestions
This commit is contained in:
parent
ffc22f629e
commit
443ce5a747
8 changed files with 9 additions and 7 deletions
|
@ -286,7 +286,7 @@ import 'emby-button';
|
|||
|
||||
async function embed(options, self) {
|
||||
const { default: template } = await import('text!./displaySettings.template.html');
|
||||
options.element.innerHTML = globalize.translateDocument(template, 'core');
|
||||
options.element.innerHTML = globalize.translateHtml(template, 'core');
|
||||
options.element.querySelector('form').addEventListener('submit', onSubmit.bind(self));
|
||||
if (options.enableSaveButton) {
|
||||
options.element.querySelector('.btnSave').classList.remove('hide');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue