mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
better caching of remote data
This commit is contained in:
parent
caed9d9fbf
commit
ff62ab9965
1 changed files with 2 additions and 2 deletions
|
@ -254,9 +254,9 @@ $(document).on('pageshow', "#supporterKeyPage", SupporterKeyPage.onPageShow);
|
|||
|
||||
function loadUserInfo(page) {
|
||||
|
||||
ApiClient.getJSON(ApiClient.getUrl('System/SupporterInfo')).then(function (info) {
|
||||
Dashboard.getPluginSecurityInfo().then(function (info) {
|
||||
|
||||
if (info.IsActiveSupporter) {
|
||||
if (info.IsMBSupporter) {
|
||||
$('.supporterContainer', page).addClass('hide');
|
||||
} else {
|
||||
$('.supporterContainer', page).removeClass('hide');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue