smell resolve
parent
46805d80d6
commit
1a577d53bd
|
@ -65,10 +65,10 @@ 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 New Issue