core/js/lib/jquery/plugins/fullpage/fullpage.js
/**
        * Fits the site to the nearest active section
        */
Fits the site to the nearest active section
Fits the site to the nearest active section
function fitToSection() {
            if (canScroll) {
                isResizing = true;
                scrollPage($(SECTION_ACTIVE_SEL));
                isResizing = false;
            }
        }
function fitToSection ( ) { if ( canScroll ) { isResizing = true ; scrollPage ( $ ( SECTION_ACTIVE_SEL ) ) ; isResizing = false ; } }
Fits the site to the nearest active section
Fits the site to the nearest active section
//checking fitToSection again in case it was set to false before the timeout delay //allows to scroll to an active section and //if the section is already active, we prevent firing callbacks