Skip to content

Commit 4fb4ad4

Browse files
committed
More bugfixes
1 parent 3de518e commit 4fb4ad4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tApp.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,9 @@ class tApp {
8787
} else {
8888
throw "tAppError: Invalid path, the path can only be \"/\" or start with \"#\".";
8989
}
90-
tApp.updatePage(window.location.hash);
90+
if(tApp.started) {
91+
tApp.updatePage(window.location.hash);
92+
}
9193
}
9294
static getCachedPage(fullPath) {
9395
return new Promise((resolve, reject) => {

0 commit comments

Comments
 (0)