diff options
Diffstat (limited to 'components/script/script_task.rs')
-rw-r--r-- | components/script/script_task.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/script_task.rs b/components/script/script_task.rs index 593bd40bdf0..ff69fabe760 100644 --- a/components/script/script_task.rs +++ b/components/script/script_task.rs @@ -1205,10 +1205,10 @@ impl ScriptTask { self.handle_reflow_event(pipeline_id); } - ClickEvent(_button, point) => { + ClickEvent(button, point) => { let page = get_page(&self.root_page(), pipeline_id); let document = page.document().root(); - document.r().handle_click_event(self.js_runtime.ptr, _button, point); + document.r().handle_click_event(self.js_runtime.ptr, button, point); } MouseDownEvent(..) => {} |