mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
lint
This commit is contained in:
parent
b5c1cbb5b3
commit
404bdc12df
6 changed files with 11 additions and 15 deletions
|
@ -3,8 +3,6 @@ import loading from 'loading';
|
|||
import globalize from 'globalize';
|
||||
import 'emby-button';
|
||||
|
||||
loading = loading.default || loading;
|
||||
|
||||
function loadPage(page, config) {
|
||||
$('.liveTvSettingsForm', page).show();
|
||||
$('.noLiveTvServices', page).hide();
|
||||
|
|
|
@ -82,7 +82,7 @@ import 'emby-itemscontainer';
|
|||
}
|
||||
|
||||
itemsContainer.innerHTML = '';
|
||||
}
|
||||
};
|
||||
|
||||
const reloadItems = (page) => {
|
||||
loading.show();
|
||||
|
@ -182,12 +182,12 @@ import 'emby-itemscontainer';
|
|||
autoFocuser.autoFocus(tabContent);
|
||||
});
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
const updateFilterControls = (tabContent) => {
|
||||
const query = getQuery();
|
||||
this.alphaPicker.value(query.NameStartsWithOrGreater);
|
||||
}
|
||||
};
|
||||
|
||||
let savedQueryKey;
|
||||
let pageData;
|
||||
|
@ -281,7 +281,7 @@ import 'emby-itemscontainer';
|
|||
});
|
||||
tabContent.querySelector('.btnPlayAll').addEventListener('click', playAll);
|
||||
tabContent.querySelector('.btnShuffle').addEventListener('click', shuffle);
|
||||
}
|
||||
};
|
||||
|
||||
initPage(tabContent);
|
||||
onViewStyleChange();
|
||||
|
|
|
@ -51,7 +51,7 @@ import 'emby-itemscontainer';
|
|||
}
|
||||
|
||||
return context.savedQueryKey;
|
||||
}
|
||||
};
|
||||
|
||||
const onViewStyleChange = () => {
|
||||
const viewStyle = this.getCurrentViewStyle();
|
||||
|
@ -66,7 +66,7 @@ import 'emby-itemscontainer';
|
|||
}
|
||||
|
||||
itemsContainer.innerHTML = '';
|
||||
}
|
||||
};
|
||||
|
||||
const reloadItems = (page) => {
|
||||
loading.show();
|
||||
|
@ -165,12 +165,12 @@ import 'emby-itemscontainer';
|
|||
autoFocuser.autoFocus(tabContent);
|
||||
});
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
const updateFilterControls = (tabContent) => {
|
||||
const query = getQuery(tabContent);
|
||||
this.alphaPicker.value(query.NameStartsWithOrGreater);
|
||||
}
|
||||
};
|
||||
|
||||
const data = {};
|
||||
let isLoading = false;
|
||||
|
@ -229,7 +229,7 @@ import 'emby-itemscontainer';
|
|||
onViewStyleChange();
|
||||
reloadItems(tabContent);
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
initPage(tabContent);
|
||||
onViewStyleChange();
|
||||
|
|
|
@ -96,7 +96,7 @@ import loading from 'loading';
|
|||
autoFocuser.autoFocus(context);
|
||||
});
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
function fullyReload() {
|
||||
this.preRender();
|
||||
|
|
|
@ -339,7 +339,7 @@ import 'flexStyles';
|
|||
|
||||
callback(controller);
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
function preLoadTab(page, index) {
|
||||
getTabController(page, index, function (controller) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue