Skip to content

Commit 4edbbfc

Browse files
committed
minor tweaks
1 parent 6a1d0ea commit 4edbbfc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.changeset/chilly-bananas-train.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
'svelte': patch
33
---
44

5-
Fix double event processing in firefox due to event object being garbage collected (#16522)
5+
fix: double event processing in firefox due to event object being garbage collected

packages/svelte/src/internal/client/dom/elements/events.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ export function delegate(events) {
143143

144144
// used to store the reference to the currently propagated event
145145
// to prevent garbage collection between microtasks in Firefox
146-
// If the event object is GCed to early, the expando __root property
146+
// If the event object is GCed too early, the expando __root property
147147
// set on the event object is lost, causing the event delegation
148148
// to process the event twice
149149
let last_propagated_event = null;

0 commit comments

Comments
 (0)