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:
parent
aa31668b27
commit
bfdf11d2e8
1 changed files with 2 additions and 2 deletions
|
@ -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));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue