mirror of
https://github.com/gorhill/uBlock.git
synced 2026-03-11 09:04:36 +00:00
Ensure error count is decrease when an error is fixed
This commit is contained in:
parent
767fcf9929
commit
028eee456f
1 changed files with 1 additions and 0 deletions
|
|
@ -752,6 +752,7 @@ CodeMirror.registerHelper('fold', 'ubo-static-filtering', (( ) => {
|
|||
const marker = extractMarker(lineHandle);
|
||||
if ( error === undefined && marker ) {
|
||||
doc.setGutterMarker(lineHandle, 'CodeMirror-lintgutter', null);
|
||||
deleteMarker();
|
||||
} else if ( error !== undefined ) {
|
||||
makeMarker(doc, lineHandle, marker, error);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue