function _smoothHistoryNavigation () {
        const _fragment = document.URL.split("#")[1];
        if(!_fragment) { //The URL is just "URL/#" or "URL/"
          if(_init(window, uss._pageScroller) !== false) uss.scrollTo(0, 0, uss._pageScroller, callback);
          return;
        } 
        const __elementToReach = document.getElementById(_fragment) || document.querySelector("a[name='" + _fragment + "']");
        if(__elementToReach !== null && _init(window, __elementToReach) !== false) {
          uss.scrollIntoView(__elementToReach, alignToLeft, alignToTop, callback, includeHiddenParents);
        }
      }
//when a user navigates through history
when a user navigates through history
when a user navigates through history
function _smoothHistoryNavigation () {
        const _fragment = document.URL.split("#")[1];
        if(!_fragment) { 
          if(_init(window, uss._pageScroller) !== false) uss.scrollTo(0, 0, uss._pageScroller, callback);
          return;
        } 
        const __elementToReach = document.getElementById(_fragment) || document.querySelector("a[name='" + _fragment + "']");
        if(__elementToReach !== null && _init(window, __elementToReach) !== false) {
          uss.scrollIntoView(__elementToReach, alignToLeft, alignToTop, callback, includeHiddenParents);
        }
      }
function _smoothHistoryNavigation ( ) { const _fragment = document . URL . split ( "#" ) [ 1 ] ; if ( ! _fragment ) { if ( _init ( window , uss . _pageScroller ) !== false ) uss . scrollTo ( 0 , 0 , uss . _pageScroller , callback ) ; return ; } const __elementToReach = document . getElementById ( _fragment ) || document . querySelector ( "a[name='" + _fragment + "']" ) ; if ( __elementToReach !== null && _init ( window , __elementToReach ) !== false ) { uss . scrollIntoView ( __elementToReach , alignToLeft , alignToTop , callback , includeHiddenParents ) ; } }
when a user navigates through history
when a user navigates through history
//The URL is just "URL/#" or "URL/"