resources/assets/js/pages/page-show.js
// Checks if the tree stickiness state should change
Checks if the tree stickiness state should change
Checks if the tree stickiness state should change
function checkTreeStickiness(skipCheck) {
        var shouldBeFixed = $window.scrollTop() > headerHeight;
        if (shouldBeFixed && (!isFixed || skipCheck)) {
            stickTree();
        } else if (!shouldBeFixed && (isFixed || skipCheck)) {
            unstickTree();
        }
    }
function checkTreeStickiness ( skipCheck ) { var shouldBeFixed = $window . scrollTop ( ) > headerHeight ; if ( shouldBeFixed && ( ! isFixed || skipCheck ) ) { stickTree ( ) ; } else if ( ! shouldBeFixed && ( isFixed || skipCheck ) ) { unstickTree ( ) ; } }
Checks if the tree stickiness state should change
Checks if the tree stickiness state should change