mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
fix return statements
This commit is contained in:
parent
161f531523
commit
27cd24f5fc
9 changed files with 53 additions and 28 deletions
|
@ -122,9 +122,10 @@ export default function (page, providerId, options) {
|
|||
const selectedListingsId = $('#selectListing', page).val();
|
||||
|
||||
if (!selectedListingsId) {
|
||||
return Dashboard.alert({
|
||||
Dashboard.alert({
|
||||
message: globalize.translate('ErrorPleaseSelectLineup')
|
||||
});
|
||||
return;
|
||||
}
|
||||
|
||||
loading.show();
|
||||
|
@ -168,7 +169,8 @@ export default function (page, providerId, options) {
|
|||
|
||||
function refreshListings(value) {
|
||||
if (!value) {
|
||||
return $('#selectListing', page).html('');
|
||||
$('#selectListing', page).html('');
|
||||
return;
|
||||
}
|
||||
|
||||
loading.show();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue