1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Merge pull request #2379 from jellyfin/promise-errors

fix some unhandled promises and refactor some code
This commit is contained in:
Bill Thornton 2021-03-05 11:03:21 -05:00 committed by GitHub
commit 742bd0a262
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 8 additions and 23 deletions

View file

@ -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() {