Fix some nasty bug

pull/3/head
Zef Hemel 2022-04-01 15:03:12 +02:00
parent b858917c98
commit 7f647758c2
2 changed files with 14 additions and 17 deletions

View File

@ -33,10 +33,7 @@ export class PathPageNavigator {
return; return;
} }
safeRun(async () => { safeRun(async () => {
await pageLoadCallback( await pageLoadCallback(this.getCurrentPage(), event && event.state.pos);
this.getCurrentPage(),
event && event.state.pos
);
if (this.navigationResolve) { if (this.navigationResolve) {
this.navigationResolve(); this.navigationResolve();
} }