mirror of
https://github.com/gorhill/uBlock.git
synced 2024-09-15 15:32:28 +02:00
Bring back action/state highlighting in _"My rules"_
This commit is contained in:
parent
941e7e8e96
commit
ab98cd46b1
@ -176,7 +176,7 @@ CodeMirror.defineMode('ubo-dynamic-filtering', ( ) => {
|
||||
// rule type or switch state
|
||||
if ( isSwitchRule ) {
|
||||
string = validSwitcheStates.has(match[0])
|
||||
? addMatchSlice(match)
|
||||
? addMatchSlice(match, match[0] === 'true' ? 'blockrule' : 'allowrule')
|
||||
: addMatchSlice(match, 'error');
|
||||
} else if ( isURLRule ) {
|
||||
string = invalidURLRuleTypes.has(match[0])
|
||||
|
Loading…
Reference in New Issue
Block a user