mirror of
https://github.com/gorhill/uBlock.git
synced 2024-09-15 15:32:28 +02: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 ) {
|
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 New Issue
Block a user