mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Fix eslint issues
This commit is contained in:
parent
ed21a8dcdd
commit
6f3aa2f1df
85 changed files with 251 additions and 251 deletions
|
@ -9,7 +9,7 @@ function onListingsSubmitted() {
|
|||
}
|
||||
|
||||
function init(page, type, providerId) {
|
||||
import(`../components/tvproviders/${type}`).then(({default: factory}) => {
|
||||
import(`../components/tvproviders/${type}`).then(({ default: factory }) => {
|
||||
const instance = new factory(page, providerId, {});
|
||||
Events.on(instance, 'submitted', onListingsSubmitted);
|
||||
instance.init();
|
||||
|
@ -17,7 +17,7 @@ function init(page, type, providerId) {
|
|||
}
|
||||
|
||||
function loadTemplate(page, type, providerId) {
|
||||
import(`../components/tvproviders/${type}.template.html`).then(({default: html}) => {
|
||||
import(`../components/tvproviders/${type}.template.html`).then(({ default: html }) => {
|
||||
page.querySelector('.providerTemplate').innerHTML = globalize.translateHtml(html);
|
||||
init(page, type, providerId);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue