Fix tabs for jsonp

This commit is contained in:
Cadence Ember
2025-11-08 13:43:12 +13:00
parent 1dd90f5a7d
commit 5c3ff9b37c
7 changed files with 62 additions and 24 deletions
+7 -1
View File
@@ -1,6 +1,11 @@
import {h, htm, render, signal, computed, effect} from "./preact.js"
import {h, htm, render, signal, computed, effect} from "preact"
const html = htm.bind(h)
// *** Status
const loaded = signal(false)
export {loaded}
// *** Loading indicator
render(html`Loading, please wait...`, document.getElementById("loading"))
@@ -69,6 +74,7 @@ async function cont() {
if (redirectTo) {
redirectTo.click()
}
loaded.value = true
})
xhr.open("POST", "/api/render/wiki")