Lightpanda: the headless browser designed for AI and automation
Update src/browser/webapi/Window.zig
Francis Bouvierd2cc336c741a
diff --git a/src/browser/webapi/Window.zig b/src/browser/webapi/Window.zigindex 3ad9aef36..a8a87cc75 100644--- a/src/browser/webapi/Window.zig+++ b/src/browser/webapi/Window.zig@@ -428,7 +428,7 @@ pub fn setOnScroll(self: *Window, setter: ?FunctionSetter) void {// event handlers of body and frameset elements are aliases for the Window's.// Returns the Window storage slot for the given content attribute name, or// null if the attribute isn't part of the set.-pub fn windowReflectingHandler(self: *Window, name: lp.String) ?*?js.Function.Global {+fn windowReflectingHandler(self: *Window, name: lp.String) ?*?js.Function.Global {if (name.eql(comptime .wrap("onblur"))) return &self._on_blur;if (name.eql(comptime .wrap("onerror"))) return &self._on_error;if (name.eql(comptime .wrap("onfocus"))) return &self._on_focus;