Skip to content

Commit

Permalink
More bugfixes
Browse files Browse the repository at this point in the history
  • Loading branch information
CMEONE committed Apr 23, 2021
1 parent 3de518e commit 4fb4ad4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tApp.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,9 @@ class tApp {
} else {
throw "tAppError: Invalid path, the path can only be \"/\" or start with \"#\".";
}
tApp.updatePage(window.location.hash);
if(tApp.started) {
tApp.updatePage(window.location.hash);
}
}
static getCachedPage(fullPath) {
return new Promise((resolve, reject) => {
Expand Down

0 comments on commit 4fb4ad4

Please sign in to comment.