Skip to content

Commit 5c842b7

Browse files
committed
Refer to correct object when clearing cache item
Signed-off-by: Nick Semenkovich <semenko@alum.mit.edu>
1 parent 1b70f37 commit 5c842b7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

chromium/popup.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ function toggleRuleLine(checkbox, ruleset) {
1515
} else {
1616
delete localStorage[ruleset.name];
1717
// purge the name from the cache so that this unchecking is persistent.
18-
backgroundPage.ruleCache.remove(ruleset.name);
18+
backgroundPage.all_rules.ruleCache.remove(ruleset.name);
1919
}
2020
// Now reload the selected tab of the current window.
2121
chrome.tabs.reload();

0 commit comments

Comments
 (0)