fix navigation.
This commit is contained in:
parent
4d288c8911
commit
1e10f832ca
|
@ -126,7 +126,7 @@ function expandDetailsRecursively(element) {
|
||||||
|
|
||||||
function navigateToPage(page) {
|
function navigateToPage(page) {
|
||||||
console.log(page);
|
console.log(page);
|
||||||
window.location.pathname = `${TREEHOUSE_SITE}/${page}.html`
|
window.location.pathname = `${page}.html`
|
||||||
}
|
}
|
||||||
|
|
||||||
async function navigateToBranch(fragment) {
|
async function navigateToBranch(fragment) {
|
||||||
|
|
Loading…
Reference in a new issue