mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
start replacing jquery ajax with fetch
This commit is contained in:
parent
ffb022d13c
commit
62b528a41c
20 changed files with 547 additions and 69 deletions
|
@ -2265,6 +2265,10 @@ var AppInfo = {};
|
|||
deps.push('bower_components/native-promise-only/lib/npo.src');
|
||||
}
|
||||
|
||||
if (!window.fetch) {
|
||||
deps.push('bower_components/fetch/fetch');
|
||||
}
|
||||
|
||||
require(deps, function () {
|
||||
|
||||
loadImageCache();
|
||||
|
@ -2330,7 +2334,7 @@ var AppInfo = {};
|
|||
|
||||
function onConnectionManagerCreated(deferred) {
|
||||
|
||||
Globalize.ensure().done(function () {
|
||||
Globalize.ensure().then(function () {
|
||||
document.title = Globalize.translateDocument(document.title, 'html');
|
||||
|
||||
$(function () {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue