mirror of
https://github.com/status-im/codimd.git
synced 2025-01-11 19:04:31 +00:00
Fixed for code consistency
This commit is contained in:
parent
376a759df7
commit
44cd5d4b56
@ -262,7 +262,7 @@ function smoothHashScroll() {
|
||||
// prevent default anchor click behavior
|
||||
e.preventDefault();
|
||||
// animate
|
||||
$('html, body').animate({
|
||||
$('body, html').stop(true, true).animate({
|
||||
scrollTop: $(hash).offset().top
|
||||
}, 100, "linear", function () {
|
||||
// when done, add hash to url
|
||||
|
Loading…
x
Reference in New Issue
Block a user