forked from Adleraci/adlerka.top
wait for fetch to finish
This commit is contained in:
parent
52e30c1e99
commit
38895b1502
@ -125,7 +125,7 @@ function navigateTo(site, page){
|
||||
data.append("action", "getPage");
|
||||
data.append("site", site);
|
||||
data.append("page", page);
|
||||
doPageAction(data).then((value) => {
|
||||
doPageAction(data).then(() => {
|
||||
localStorage.setItem("currentSite", site);
|
||||
localStorage.setItem("currentPage", page);
|
||||
onPageLoad();
|
||||
|
Loading…
Reference in New Issue
Block a user