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

Fix browsers that do not support Promises

This commit is contained in:
Bill Thornton 2020-02-26 10:29:52 -05:00
parent 89a5c2d590
commit c46c6c2203
6 changed files with 21 additions and 30 deletions

View file

@ -671,11 +671,7 @@ var AppInfo = {};
AppInfo.isNativeApp = true;
}
if (!window.Promise || browser.web0s) {
require(["native-promise-only"], init);
} else {
init();
}
init();
}
var localApiClient;