mirror of
https://gitdab.com/cadence/breezewiki.git
synced 2026-04-23 22:44:35 -04:00
Fix tabs for jsonp
This commit is contained in:
+7
-1
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user