SAMYANG/m/asset/js/sy.m.plugin.js
/**
         * Scrolls to the anchor in the URL when loading the site
         */
Scrolls to the anchor in the URL when loading the site
Scrolls to the anchor in the URL when loading the site
function scrollToAnchor() {
            var anchors = getAnchorsURL();
            var sectionAnchor = anchors.section;
            var slideAnchor = anchors.slide;
            if (sectionAnchor) {  
                if (options.animateAnchor) {
                    scrollPageAndSlide(sectionAnchor, slideAnchor);
                } else {
                    silentMoveTo(sectionAnchor, slideAnchor);
                }
            }
        }
function scrollToAnchor ( ) { var anchors = getAnchorsURL ( ) ; var sectionAnchor = anchors . section ; var slideAnchor = anchors . slide ; if ( sectionAnchor ) { if ( options . animateAnchor ) { scrollPageAndSlide ( sectionAnchor , slideAnchor ) ; } else { silentMoveTo ( sectionAnchor , slideAnchor ) ; } } }
Scrolls to the anchor in the URL when loading the site
Scrolls to the anchor in the URL when loading the site
//if theres any #