mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-28 03:16:16 -04: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
|
||||
$outerdoc.find('#sidedivinner').on('click', 'div', function () {
|
||||
const lineNumber = $(this).index() + 1;
|
||||
window.location.hash = 'L' + lineNumber;
|
||||
})
|
||||
const targetLineNumber = $(this).index() + 1;
|
||||
window.location.hash = `L${targetLineNumber}`;
|
||||
});
|
||||
|
||||
readyFunc();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue