aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/script_task.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/script/script_task.rs')
-rw-r--r--src/components/script/script_task.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/script/script_task.rs b/src/components/script/script_task.rs
index 12035753527..3a40303321b 100644
--- a/src/components/script/script_task.rs
+++ b/src/components/script/script_task.rs
@@ -1136,7 +1136,7 @@ impl ScriptTask {
let mut event = Event::new(&*window).root();
event.InitEvent("click".to_owned(), true, true);
let eventtarget: &JSRef<EventTarget> = EventTargetCast::from_ref(&node);
- eventtarget.dispatch_event_with_target(None, &mut *event);
+ let _ = eventtarget.dispatch_event_with_target(None, &mut *event);
}
None => {}
}