mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-02-08 11:12:01 +01:00
smell resolve
This commit is contained in:
parent
46805d80d6
commit
1a577d53bd
1 changed files with 4 additions and 4 deletions
|
@ -66,9 +66,9 @@ const padeditor = (function () {
|
||||||
}
|
}
|
||||||
// Listen for clicks on sidediv items
|
// Listen for clicks on sidediv items
|
||||||
$outerdoc.find('#sidedivinner').on('click', 'div', function () {
|
$outerdoc.find('#sidedivinner').on('click', 'div', function () {
|
||||||
const lineNumber = $(this).index() + 1;
|
const targetLineNumber = $(this).index() + 1;
|
||||||
window.location.hash = 'L' + lineNumber;
|
window.location.hash = `L${targetLineNumber}`;
|
||||||
})
|
});
|
||||||
|
|
||||||
readyFunc();
|
readyFunc();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue