mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
fix some unhandled promises and refactor some code
This commit is contained in:
parent
d7161f9d65
commit
df599db415
9 changed files with 8 additions and 23 deletions
|
@ -28,7 +28,7 @@ function showMessage(text, userSettingsKey, appHostFeature) {
|
|||
}
|
||||
|
||||
userSettings.set(userSettingsKey, '1', false);
|
||||
return alert(text).catch(() => { /* ignore exceptions */ });
|
||||
return alert(text);
|
||||
}
|
||||
|
||||
function showBlurayMessage() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue