ui.js
/**
     * Force the URL to be the specified section by replacing the current state (does not draw anything until reconstruct is called).
     * @param {string[]} path - Array containing the path to use
    */
Force the URL to be the specified section by replacing the current state (does not draw anything until reconstruct is called).
@param {string[]} path - Array containing the path to use
Force the URL to be the specified section by replacing the current state ( does not draw anything until reconstruct is called ) . @param { string [] } path - Array containing the path to use
replaceSection(path) {
        path = path.filter(entry => entry !== ""); 
        var url = window.location.origin;
        path.forEach((n) => {
            url += "/" + n;
        });
        var title = this.onTitle(path);
        document.title = title;
        history.replaceState({
            order: this.order,
            session: this.session,
            title: title
        }, title, url);
        this.state = path;
    }
replaceSection ( path ) { path = path . filter ( entry => entry !== "" ) ; var url = window . location . origin ; path . forEach ( ( n ) => { url += "/" + n ; } ) ; var title = this . onTitle ( path ) ; document . title = title ; history . replaceState ( { order : this . order , session : this . session , title : title } , title , url ) ; this . state = path ; }
Force the URL to be the specified section by replacing the current state (does not draw anything until reconstruct is called).
Force the URL to be the specified section by replacing the current state ( does not draw anything until reconstruct is called ) .
//beware those empty