mirror of
https://github.com/gorhill/uBlock.git
synced 2024-09-02 17:19:38 +02:00
typo
This commit is contained in:
parent
002b99e573
commit
08ccebfd64
@ -164,8 +164,8 @@ var patchIncremental = function(from, delta) {
|
||||
var span, cnt;
|
||||
var li = from.parentElement.parentElement;
|
||||
var patchCosmeticHide = delta >= 0 &&
|
||||
from.classList.contains('isCosmeticFilter') &&
|
||||
li.classList.contains('hasCosmeticFilter') === false;
|
||||
from.classList.contains('isCosmeticHide') &&
|
||||
li.classList.contains('hasCosmeticHide') === false;
|
||||
// Include descendants count when removing a node
|
||||
if ( delta < 0 ) {
|
||||
delta -= countFromNode(from);
|
||||
@ -178,7 +178,7 @@ var patchIncremental = function(from, delta) {
|
||||
span.setAttribute('data-cnt', cnt);
|
||||
}
|
||||
if ( patchCosmeticHide ) {
|
||||
li.classList.add('hasCosmeticFilter');
|
||||
li.classList.add('hasCosmeticHide');
|
||||
}
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user