aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/activation.rs
diff options
context:
space:
mode:
authorthiagopnts <thiagopnts@gmail.com>2014-12-14 02:38:29 -0200
committerThiago Pontes <email@thiago.me>2014-12-16 10:01:38 -0200
commit79487252cad72b019df88d0930457c3678641d59 (patch)
treed59bf622a955166ed65c913d0f287e7eed84f6ec /components/script/dom/activation.rs
parent1bc2c8a6397382b4db8fb09582434f4798d43868 (diff)
downloadservo-79487252cad72b019df88d0930457c3678641d59.tar.gz
servo-79487252cad72b019df88d0930457c3678641d59.zip
Add auxiliary method to EventTargetHelpers for events without target
fixup! Add auxiliary method to EventTargetHelpers for events without target
Diffstat (limited to 'components/script/dom/activation.rs')
-rw-r--r--components/script/dom/activation.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/activation.rs b/components/script/dom/activation.rs
index e4a54112e58..97bc66f5362 100644
--- a/components/script/dom/activation.rs
+++ b/components/script/dom/activation.rs
@@ -49,7 +49,7 @@ pub trait Activatable : Copy {
0, None).root();
let event: JSRef<Event> = EventCast::from_ref(*mouse);
event.set_trusted(true);
- target.dispatch_event_with_target(None, event).ok();
+ target.dispatch_event(event);
// Step 5
if event.DefaultPrevented() {