mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-01 16:33:06 +01:00
Fix regression in syntax rendering of redirect values in asset viewer
Related commit:
- 262a1a044f
This commit is contained in:
parent
f8b15ed6cc
commit
ee87bda326
@ -66,7 +66,7 @@
|
||||
if ( hints instanceof Object ) {
|
||||
const mode = cmEditor.getMode();
|
||||
if ( mode.setHints instanceof Function ) {
|
||||
mode.setHints(hints);
|
||||
mode.setHints(hints, true);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1202,7 +1202,7 @@ const onMessage = function(request, sender, callback) {
|
||||
|
||||
case 'getAutoCompleteDetails':
|
||||
response = {};
|
||||
if ( request.hintUpdateToken === 0 ) {
|
||||
if ( (request.hintUpdateToken || 0) === 0 ) {
|
||||
response.redirectResources = µb.redirectEngine.getResourceDetails();
|
||||
response.preparseDirectiveTokens = µb.preparseDirectives.getTokens();
|
||||
response.preparseDirectiveHints = µb.preparseDirectives.getHints();
|
||||
|
Loading…
Reference in New Issue
Block a user