mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Add api key functions
This commit is contained in:
parent
5f578574d7
commit
42de7388d0
18 changed files with 288 additions and 108 deletions
|
@ -98,17 +98,13 @@
|
|||
if ($.browser.msie) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// For bandwidth
|
||||
if ($.browser.mobile) {
|
||||
return false;
|
||||
}
|
||||
|
||||
var userId = Dashboard.getCurrentUserId();
|
||||
|
||||
var val = LocalSettings.val('enableBackdrops', userId);
|
||||
|
||||
return val != '0';
|
||||
// For bandwidth
|
||||
return val == '1' || (val != '0' && !$.browser.mobile);
|
||||
}
|
||||
|
||||
$(document).on('pagebeforeshow', ".page", function () {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue