Skip to content

Lightpanda: the headless browser designed for AI and automation

Update src/browser/EventManagerBase.zig

Karl Seguine98e66acf802
diff --git a/src/browser/EventManagerBase.zig b/src/browser/EventManagerBase.zig
index f95a7ab85..3db82f336 100644
--- a/src/browser/EventManagerBase.zig
+++ b/src/browser/EventManagerBase.zig
@@ -140,7 +140,7 @@ pub fn setHandler(self: *EventManagerBase, target: *EventTarget, typ: []const u8
}
// An event handler content attribute, compiled on first use. The source must
-// live as long as the page. Currently, the source is always form an attribute
+// live as long as the page. Currently, the source is always from an attribute
// entry's slice (attribute values are also tied to the page.arena).
// As always careful not to use String.str() on a stack-allocated String!
pub fn setHandlerSource(self: *EventManagerBase, target: *EventTarget, typ: []const u8, source: ?[]const u8) !?*Listener {