mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
switch methods to fetch
This commit is contained in:
parent
6acc4bf69d
commit
dd09b038d5
91 changed files with 349 additions and 314 deletions
|
@ -257,7 +257,7 @@ $(document).on('pageshow', "#supporterKeyPage", SupporterKeyPage.onPageShow);
|
|||
|
||||
function loadUserInfo(page) {
|
||||
|
||||
ApiClient.getJSON(ApiClient.getUrl('System/SupporterInfo')).done(function (info) {
|
||||
ApiClient.fetchJSON(ApiClient.getUrl('System/SupporterInfo')).then(function (info) {
|
||||
|
||||
if (info.IsActiveSupporter) {
|
||||
$('.supporterContainer', page).addClass('hide');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue