added lot of things

This commit is contained in:
infeeeee
2019-07-18 23:55:33 +02:00
parent 0f3aaed434
commit 7ea5c5d1e8
13 changed files with 538 additions and 230 deletions

View File

@@ -871,6 +871,11 @@
window.open(href, "_self")
})
/* ----------------------------- scroll to title ---------------------------- */
const titleWrapperHeight = $('article>.titlewrapper')[0].getBoundingClientRect().height
$('html, body').stop().animate({ scrollTop: titleWrapperHeight }, 400);
}//if single end