- fixes the scroll offset when an in-page link in the site navigation is clicked
- title: IDE Integration
url: '#'
urlType: fragment
- - content: Application Tutorial
- url: '#'
+ - content: Liber Recusabo
+ url: '#liber-recusabo'
urlType: fragment
- content: Reference
url: '#'
window.removeEventListener('load', jumpOnLoad)
})
- Array.prototype.slice.call(document.querySelectorAll('.doc a[href^="#"]')).forEach(function (el) {
+ Array.prototype.slice.call(document.querySelectorAll('a[href^="#"]')).forEach(function (el) {
var hash, target
if ((hash = el.hash.slice(1)) && (target = document.getElementById(hash))) {
el.addEventListener('click', jumpToAnchor.bind(target))