mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
move completely to fetch
This commit is contained in:
parent
ee899a7332
commit
9932bc3eb5
168 changed files with 948 additions and 945 deletions
6
dashboard-ui/cordova/imagestore.js
vendored
6
dashboard-ui/cordova/imagestore.js
vendored
|
@ -80,7 +80,7 @@
|
|||
|
||||
//Logger.log('getImageUrl:' + originalUrl);
|
||||
|
||||
getFileSystem().done(function (fileSystem) {
|
||||
getFileSystem().then(function (fileSystem) {
|
||||
var path = fileSystem.root.toURL() + "/emby/cache/" + key;
|
||||
|
||||
resolveLocalFileSystemURL(path, function (fileEntry) {
|
||||
|
@ -116,11 +116,11 @@
|
|||
// return;
|
||||
//}
|
||||
|
||||
self.getImageUrl(url).done(function (localUrl) {
|
||||
self.getImageUrl(url).then(function (localUrl) {
|
||||
|
||||
setImageIntoElement(elem, localUrl);
|
||||
|
||||
}).fail(onFail);
|
||||
}, onFail);
|
||||
};
|
||||
|
||||
var imageIdIndex = 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue