mirror of
https://github.com/gorhill/uBlock.git
synced 2026-03-11 09:04:36 +00:00
Fix regression in syntax rendering of redirect values in asset viewer
Related commit:
- 262a1a044f
This commit is contained in:
parent
f8b15ed6cc
commit
ee87bda326
2 changed files with 2 additions and 2 deletions
|
|
@ -66,7 +66,7 @@
|
||||||
if ( hints instanceof Object ) {
|
if ( hints instanceof Object ) {
|
||||||
const mode = cmEditor.getMode();
|
const mode = cmEditor.getMode();
|
||||||
if ( mode.setHints instanceof Function ) {
|
if ( mode.setHints instanceof Function ) {
|
||||||
mode.setHints(hints);
|
mode.setHints(hints, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1202,7 +1202,7 @@ const onMessage = function(request, sender, callback) {
|
||||||
|
|
||||||
case 'getAutoCompleteDetails':
|
case 'getAutoCompleteDetails':
|
||||||
response = {};
|
response = {};
|
||||||
if ( request.hintUpdateToken === 0 ) {
|
if ( (request.hintUpdateToken || 0) === 0 ) {
|
||||||
response.redirectResources = µb.redirectEngine.getResourceDetails();
|
response.redirectResources = µb.redirectEngine.getResourceDetails();
|
||||||
response.preparseDirectiveTokens = µb.preparseDirectives.getTokens();
|
response.preparseDirectiveTokens = µb.preparseDirectives.getTokens();
|
||||||
response.preparseDirectiveHints = µb.preparseDirectives.getHints();
|
response.preparseDirectiveHints = µb.preparseDirectives.getHints();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue