diff options
Diffstat (limited to 'src/components/script/script_task.rs')
-rw-r--r-- | src/components/script/script_task.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/script/script_task.rs b/src/components/script/script_task.rs index ce0d18b8c87..fdbcff82410 100644 --- a/src/components/script/script_task.rs +++ b/src/components/script/script_task.rs @@ -208,7 +208,7 @@ trait PrivateScriptTaskHelpers { impl<'a> PrivateScriptTaskHelpers for JSRef<'a, Node> { fn click_event_filter_by_disabled_state(&self) -> bool { - match self.type_id { + match self.type_id() { ElementNodeTypeId(HTMLButtonElementTypeId) | ElementNodeTypeId(HTMLInputElementTypeId) | // ElementNodeTypeId(HTMLKeygenElementTypeId) | |