From e894132aa124567318ca9b882d1449461e0aadbe Mon Sep 17 00:00:00 2001 From: "Brian R. Bondy" Date: Mon, 5 Dec 2016 19:56:48 -0500 Subject: [PATCH] Fix shields down crashing Brave Fix #6034 Auditors: @bridiver --- js/state/siteSettings.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/state/siteSettings.js b/js/state/siteSettings.js index 6e67bbb73eb..ca3fde9bce3 100644 --- a/js/state/siteSettings.js +++ b/js/state/siteSettings.js @@ -50,7 +50,7 @@ module.exports.activeSettings = (siteSettings, appState, appConfig) => { Object.keys(appConfig.resourceNames).forEach((resourceName) => { let name = appConfig.resourceNames[resourceName] settings[name] = (() => { - if (settings.shieldsUp === false && appConfig[resourceName].shields !== false) { + if (settings.shieldsUp === false && appConfig[name].shields !== false) { return false }