mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
fix return
This commit is contained in:
parent
408f2b2bda
commit
95423468bb
1 changed files with 2 additions and 1 deletions
|
@ -51,7 +51,8 @@ import template from './accessSchedule.template.html';
|
||||||
};
|
};
|
||||||
|
|
||||||
if (parseFloat(updatedSchedule.StartHour) >= parseFloat(updatedSchedule.EndHour)) {
|
if (parseFloat(updatedSchedule.StartHour) >= parseFloat(updatedSchedule.EndHour)) {
|
||||||
return alert(globalize.translate('ErrorStartHourGreaterThanEnd'));
|
alert(globalize.translate('ErrorStartHourGreaterThanEnd'));
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
context.submitted = true;
|
context.submitted = true;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue