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

Conflicts:
	MediaBrowser.Api/System/SystemService.cs
This commit is contained in:
Luke Pulverenti 2016-01-02 16:54:37 -05:00
parent 0f3401ed9a
commit 1b28b0c33d

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