This commit is contained in:
Van
2019-04-21 09:57:40 +08:00
parent 4e0efa0a53
commit 588629cae6
22 changed files with 25 additions and 30 deletions

View File

@@ -50,7 +50,7 @@ var Skin = {
}
$articleToc.find('a').click(function (event) {
const id = $(this).attr('href')
var id = $(this).attr('href')
window.location.hash = id
$(window).scrollTop($(id).offset().top - 60)
event.preventDefault()