internal/docs/themes/hugo-theme-learn/static/js/learn.js
function (e) {
                var elem = e.target;

                if (this.scrollIfAnchor(elem.getAttribute('href'), true)) {
                    e.preventDefault();
                }
            }
function (e) {
                var elem = e.target;

                if (this.scrollIfAnchor(elem.getAttribute('href'), true)) {
                    e.preventDefault();
                }
            }
function ( e ) { var elem = e . target ; if ( this . scrollIfAnchor ( elem . getAttribute ( 'href' ) , true ) ) { e . preventDefault ( ) ; } }
If the click event's target was an anchor, fix the scroll position.
If the click event s target was an anchor fix the scroll position .