mirror of https://github.com/gorhill/uBlock.git
Support auto-complete for `from=` same as `domain=`
This commit is contained in:
parent
6f8ce65765
commit
4c48148eb2
|
@ -512,7 +512,7 @@ function initHints() {
|
||||||
matchRight[0]
|
matchRight[0]
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
if ( matchLeft[0].startsWith('domain=') ) {
|
if ( /^(domain|from)=/.test(matchLeft[0]) ) {
|
||||||
return getOriginHints(cursor, line);
|
return getOriginHints(cursor, line);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue