new_posts_ajax_stuff #1

Merged
0 merged 27 commits from new_posts_ajax_stuff into deploy_spamnoticer 2024-02-26 20:13:30 +00:00
1 changed files with 2 additions and 2 deletions
Showing only changes of commit 0dad3dc61b - Show all commits

View File

@ -51,7 +51,7 @@ $().ready(() => {
if (stats != null) {
threadStats = stats
} else {
threadState = "Pruned"
threadState = String(res.status)
}
} else {
throw new Error(`Server responded with non-OK status '${res.status}'`)
@ -98,7 +98,7 @@ $().ready(() => {
updateSecondsByTSLP(lastPostC.getContent().getInfo())
}
} else if (res.status == 404) {
threadState = "Pruned"
threadState = String(res.status)
} else {
throw new Error(`Server responded with non-OK status '${res.status}'`)
}