Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Commit

Permalink
Fix shields down crashing Brave
Browse files Browse the repository at this point in the history
Fix #6034

Auditors: @bridiver
  • Loading branch information
bbondy committed Dec 6, 2016
1 parent b050724 commit e894132
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/state/siteSettings.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit e894132

Please sign in to comment.