1
0
Fork 0
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:
Luke Pulverenti 2014-07-11 22:31:08 -04:00
parent 5f578574d7
commit 42de7388d0
18 changed files with 288 additions and 108 deletions

View file

@ -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 () {