mirror of
https://github.com/gorhill/uBlock.git
synced 2026-03-11 09:04:36 +00:00
[mv3] Fix gutter click on last line
This commit is contained in:
parent
7d9317bb17
commit
a986b45433
1 changed files with 1 additions and 1 deletions
|
|
@ -508,7 +508,7 @@ class Editor {
|
|||
}
|
||||
}
|
||||
view.dispatch({
|
||||
selection: { anchor: from, head: to+1 }
|
||||
selection: { anchor: from, head: Math.min(to+1, doc.length) }
|
||||
});
|
||||
view.focus();
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Reference in a new issue