added lot of things
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user