This commit is contained in:
Maurice Parker
2023-12-16 09:48:30 -06:00
43 changed files with 754 additions and 431 deletions

View File

@@ -168,3 +168,8 @@ function processPage() {
removeWpSmiley()
postRenderProcessing();
}
document.addEventListener("DOMContentLoaded", function(event) {
window.scrollTo(0, [[windowScrollY]]);
processPage();
})

View File

@@ -263,6 +263,10 @@ figure {
margin-top: 1em;
}
figure > * + * {
margin-top: 0.5em;
}
figcaption {
font-size: 14px;
line-height: 1.3em;

View File

@@ -73,6 +73,8 @@ import Account
lastTimedRefresh = Date()
update()
AccountManager.shared.refreshAll(errorHandler: ErrorHandler.log, completion: nil)
Task {
await AccountManager.shared.refreshAll(errorHandler: ErrorHandler.log)
}
}
}

View File

@@ -68,8 +68,8 @@ class ArticleStatusSyncTimer {
lastTimedRefresh = Date()
update()
AccountManager.shared.syncArticleStatusAll()
Task {
await AccountManager.shared.syncArticleStatusAll()
}
}
}