mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Implement .finally
as .catch().then
as suggested.
This commit is contained in:
parent
3167c7dbb9
commit
243f6f898e
2 changed files with 2 additions and 0 deletions
|
@ -342,6 +342,7 @@ define(['loading', 'globalize', 'events', 'viewManager', 'layoutManager', 'skinM
|
|||
hashbang: options.hashbang !== false,
|
||||
enableHistory: enableHistory()
|
||||
});
|
||||
}).catch().then(function() {
|
||||
loading.hide();
|
||||
});
|
||||
}
|
||||
|
|
|
@ -156,6 +156,7 @@ define(["apphost", "appSettings", "dom", "connectionManager", "loading", "cardSt
|
|||
view.querySelector("#txtManualName").value = "";
|
||||
showManualForm(view, false, false);
|
||||
}
|
||||
}).catch().then(function() {
|
||||
loading.hide();
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue