diff options
Diffstat (limited to 'components/script/dom/selection.rs')
-rw-r--r-- | components/script/dom/selection.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/selection.rs b/components/script/dom/selection.rs index 63ec919a4b3..fbe5047a12e 100644 --- a/components/script/dom/selection.rs +++ b/components/script/dom/selection.rs @@ -96,7 +96,7 @@ impl Selection { task!(selectionchange_task_steps: move || { let this = this.root(); this.task_queued.set(false); - this.document.upcast::<EventTarget>().fire_event(atom!("selectionchange")); + this.document.upcast::<EventTarget>().fire_event(atom!("selectionchange"), CanGc::note()); }), window.upcast(), ) |