1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-10-06 09:37:12 +02:00

Support auto-complete for from= same as domain=

This commit is contained in:
Raymond Hill 2023-11-03 20:19:19 -04:00
parent 6f8ce65765
commit 4c48148eb2
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2

View File

@ -512,7 +512,7 @@ function initHints() {
matchRight[0]
);
}
if ( matchLeft[0].startsWith('domain=') ) {
if ( /^(domain|from)=/.test(matchLeft[0]) ) {
return getOriginHints(cursor, line);
}
};