mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-19 14:13:34 +01:00
pad_editor: Call focusOnLine()
on line number click
This commit is contained in:
parent
f70f3197b6
commit
5bc4638d3a
1 changed files with 1 additions and 0 deletions
|
@ -46,6 +46,7 @@ const padeditor = (() => {
|
|||
$outerdoc.find('#sidedivinner').on('click', 'div', function () {
|
||||
const targetLineNumber = $(this).index() + 1;
|
||||
window.location.hash = `L${targetLineNumber}`;
|
||||
focusOnLine(self.ace);
|
||||
});
|
||||
focusOnLine(self.ace);
|
||||
self.ace.setProperty('wraps', true);
|
||||
|
|
Loading…
Reference in a new issue