mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
fix theme videos option always enabled
This commit is contained in:
parent
161892a54e
commit
c1649d6e65
1 changed files with 0 additions and 14 deletions
|
@ -316,20 +316,6 @@ var AppInfo = {};
|
|||
}
|
||||
|
||||
function getSettingsBuilder(UserSettings, layoutManager, browser) {
|
||||
UserSettings.prototype.enableThemeVideos = function (val) {
|
||||
if (val != null) {
|
||||
return this.set('enableThemeVideos', val.toString(), false);
|
||||
}
|
||||
|
||||
val = this.get('enableThemeVideos', false);
|
||||
|
||||
if (val !== 'false') {
|
||||
return !layoutManager.mobile;
|
||||
} else {
|
||||
return !browser.slow;
|
||||
}
|
||||
};
|
||||
|
||||
return UserSettings;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue