mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-09 12:22:33 +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
@ -154,13 +154,8 @@ const hashFromPopupData = function(reset) {
|
|||||||
const rules = popupData.firewallRules;
|
const rules = popupData.firewallRules;
|
||||||
for ( const key in rules ) {
|
for ( const key in rules ) {
|
||||||
const rule = rules[key];
|
const rule = rules[key];
|
||||||
if ( rule === null ) { continue; }
|
if ( rule === undefined ) { continue; }
|
||||||
hasher.push(
|
hasher.push(rule);
|
||||||
rule.src + ' ' +
|
|
||||||
rule.des + ' ' +
|
|
||||||
rule.type + ' ' +
|
|
||||||
rule.action
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
hasher.sort();
|
hasher.sort();
|
||||||
hasher.push(uDom('body').hasClass('off'));
|
hasher.push(uDom('body').hasClass('off'));
|
||||||
|
Loading…
Reference in New Issue
Block a user