this was not a bug. The wrong element id was provided

This commit is contained in:
2026-04-15 23:37:26 +02:00
parent 32c84112ff
commit 7fc18d0fcc

View File

@@ -745,7 +745,7 @@
(if (string? html) (if (string? html)
(let ((r (webview-call-js wv (let ((r (webview-call-js wv
(with-id id el (with-id id el
("el.innerHTML = '~a';window.setTimeout(function (){ }, 0); return true;" ("el.innerHTML = '~a'; return true;"
(esc-quote html)))))) (esc-quote html))))))
(if r 'oke 'failed)) (if r 'oke 'failed))
(webview-set-innerHTML! wv id (xexpr->string html)) (webview-set-innerHTML! wv id (xexpr->string html))