mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-10 09:07:54 +01:00
Fix improper hashing of rules in classic popup panel
Related feedback: - https://www.reddit.com/r/uBlockOrigin/comments/n5vaih/
This commit is contained in:
parent
0718d816e1
commit
1f8a67f40e
1 changed files with 2 additions and 7 deletions
|
@ -154,13 +154,8 @@ const hashFromPopupData = function(reset) {
|
|||
const rules = popupData.firewallRules;
|
||||
for ( const key in rules ) {
|
||||
const rule = rules[key];
|
||||
if ( rule === null ) { continue; }
|
||||
hasher.push(
|
||||
rule.src + ' ' +
|
||||
rule.des + ' ' +
|
||||
rule.type + ' ' +
|
||||
rule.action
|
||||
);
|
||||
if ( rule === undefined ) { continue; }
|
||||
hasher.push(rule);
|
||||
}
|
||||
hasher.sort();
|
||||
hasher.push(uDom('body').hasClass('off'));
|
||||
|
|
Loading…
Reference in a new issue