Lightpanda: the headless browser designed for AI and automation
zig fmt
Karl Seguineab33428fb72
diff --git a/src/browser/webapi/EventTarget.zig b/src/browser/webapi/EventTarget.zigindex 454a88c64..f0c25e1c3 100644--- a/src/browser/webapi/EventTarget.zig+++ b/src/browser/webapi/EventTarget.zig@@ -108,10 +108,10 @@ const AddEventListenerOptions = union(enum) {// html and body elements.fn defaultPassiveValue(self: *EventTarget, typ: []const u8) bool {const scroll_blocking_event_types = std.StaticStringMap(void).initComptime(.{- .{"touchstart", {}},- .{"touchmove", {}},- .{"wheel", {}},- .{"mousewheel", {}},+ .{ "touchstart", {} },+ .{ "touchmove", {} },+ .{ "wheel", {} },+ .{ "mousewheel", {} },});if (scroll_blocking_event_types.has(typ) == false) {return false;