about summary refs log tree commit diff stats
path: root/src/html
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2024-09-30 21:25:20 +0200
committerbptato <nincsnevem662@gmail.com>2024-09-30 21:25:20 +0200
commitf9433f13765ca6ec6aa5d2c34dd4d3c76d93c08a (patch)
treeb94a661a8821aafe1cc6945ead210abc1349e3de /src/html
parentbcadca71a694c68263d03da27fcaf3fc897da38f (diff)
downloadchawan-f9433f13765ca6ec6aa5d2c34dd4d3c76d93c08a.tar.gz
timeout: accept err stream as param
gets rid of a todo.
(not sure why I thought this was important, but it sure looks nicer)
Diffstat (limited to 'src/html')
-rw-r--r--src/html/env.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/html/env.nim b/src/html/env.nim
index 27a12816..2628c09b 100644
--- a/src/html/env.nim
+++ b/src/html/env.nim
@@ -279,7 +279,7 @@ proc addScripting*(window: Window) =
   window.jsrt = rt
   window.jsctx = ctx
   window.importMapsAllowed = true
-  window.timeouts = newTimeoutState(ctx, window.console.err, evalJSFree, window)
+  window.timeouts = newTimeoutState(ctx, evalJSFree, window)
   ctx.addWindowModule()
   ctx.setGlobal(window)
   ctx.addDOMExceptionModule()