1
0
Fork 0
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:
Luke Pulverenti 2016-01-02 16:54:37 -05:00
parent caed9d9fbf
commit ff62ab9965

View file

@ -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');