Revamp stork
This commit is contained in:
parent
109bc0bdd6
commit
8764450423
5 changed files with 67 additions and 21 deletions
|
@ -77,7 +77,7 @@ function renderComments(jump, comments, debug) {
|
|||
}
|
||||
commentContainer.innerHTML = html;
|
||||
soudan.style.display = "";
|
||||
if (jump && window.location.hash) {
|
||||
if (jump && window.location.hash.substr(1) == parseInt(window.location.hash.substr(1))) {
|
||||
const target = document.getElementById(window.location.hash.substring(1));
|
||||
if (target) {
|
||||
window.scrollTo(0, target.offsetTop);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue