1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

cache plugin info

This commit is contained in:
Luke Pulverenti 2013-06-04 12:59:03 -04:00
parent aa31668b27
commit bfdf11d2e8

View file

@ -625,7 +625,7 @@ var Dashboard = {
}
}).done(function (result) {
deferred.resolveWith(null, [[result]]);
deferred.resolveWith(null, [result]);
});
Dashboard.getPluginSecurityInfoPromise = deferred;
@ -715,7 +715,7 @@ var Dashboard = {
if (!$('.supporterIcon', header).length) {
ApiClient.getPluginSecurityInfo().done(function (pluginSecurityInfo) {
Dashboard.getPluginSecurityInfo().done(function (pluginSecurityInfo) {
if (pluginSecurityInfo.IsMBSupporter) {
$('<a class="imageLink supporterIcon" href="supporter.html" title="Thank you for supporting Media Browser."><img src="css/images/supporter/supporterbadge.png" /></a>').insertBefore($('.btnTools', header));