From c1649d6e653ea6255160db5cf4abeb9ce10d29ef Mon Sep 17 00:00:00 2001 From: dkanada Date: Fri, 22 Mar 2019 03:21:26 -0700 Subject: [PATCH] fix theme videos option always enabled --- src/scripts/site.js | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/src/scripts/site.js b/src/scripts/site.js index 8f809cfdc1..dae98519c9 100644 --- a/src/scripts/site.js +++ b/src/scripts/site.js @@ -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; }