innerHTmL problems. Not synchronous?

This commit is contained in:
2026-04-15 23:16:22 +02:00
parent ca6667ce31
commit 3602d9bb3a
2 changed files with 19 additions and 18 deletions

View File

@@ -274,7 +274,7 @@
(if (or (eq? ext 'html) (eq? ext 'htm))
(process-html context file-to-serve out)
(process-file context ext file-to-serve out))
(dbg-webview "output to output port had been done")
(dbg-webview "output to output port has been done")
))
(response/output
#:code 404

View File

@@ -111,6 +111,7 @@
(if (= js-type -1)
'unknown
(string->symbol (string-downcase js-type))))))
)
(let ((cl (cond
((eq? type 'text) wv-input/text%)
((eq? type 'date) wv-input/date%)
@@ -129,7 +130,7 @@
)))
(set! elem (new cl [window this] [element-id id]))
(hash-set! element-hash id elem))
))
)
(displayln (format "element ~a: ~a" id elem))
elem
)