SAMYANG/m/asset/js/sy.m.plugin.js
/**
         * Fix section order after continuousVertical changes have been animated
         */
Fix section order after continuousVertical changes have been animated
Fix section order after continuousVertical changes have been animated
function continuousVerticalFixSectionOrder(v) {
            if (!v.wrapAroundElements || !v.wrapAroundElements.length) {
                return;
            }
            if (v.isMovementUp) {
                $(SECTION_FIRST_SEL).before(v.wrapAroundElements);
            }
            else {
                $(SECTION_LAST_SEL).after(v.wrapAroundElements);
            }
            silentScroll($(SECTION_ACTIVE_SEL).position().top);
            keepSlidesPosition();
        }
function continuousVerticalFixSectionOrder ( v ) { if ( ! v . wrapAroundElements || ! v . wrapAroundElements . length ) { return ; } if ( v . isMovementUp ) { $ ( SECTION_FIRST_SEL ) . before ( v . wrapAroundElements ) ; } else { $ ( SECTION_LAST_SEL ) . after ( v . wrapAroundElements ) ; } silentScroll ( $ ( SECTION_ACTIVE_SEL ) . position ( ) . top ) ; keepSlidesPosition ( ) ; }
Fix section order after continuousVertical changes have been animated
Fix section order after continuousVertical changes have been animated
// If continuousVertical is in effect (and autoScrolling would also be in effect then), // finish moving the elements around so the direct navigation will function more simply // Maintain the active slides visible in the viewport