mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
run all ajax through apiclient
This commit is contained in:
parent
683e6f472c
commit
db0a6eb632
28 changed files with 55 additions and 46 deletions
|
@ -84,7 +84,7 @@
|
|||
var page = this;
|
||||
|
||||
var promise1 = ApiClient.getNamedConfiguration("channels");
|
||||
var promise2 = $.getJSON(ApiClient.getUrl("Channels/Features"));
|
||||
var promise2 = ApiClient.getJSON(ApiClient.getUrl("Channels/Features"));
|
||||
|
||||
$.when(promise1, promise2).done(function (response1, response2) {
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue