diff options
Diffstat (limited to 'components/script/dom/htmlinputelement.rs')
-rw-r--r-- | components/script/dom/htmlinputelement.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/htmlinputelement.rs b/components/script/dom/htmlinputelement.rs index 1e95e718d49..b63fee7917b 100644 --- a/components/script/dom/htmlinputelement.rs +++ b/components/script/dom/htmlinputelement.rs @@ -57,7 +57,7 @@ pub struct HTMLInputElement { impl HTMLInputElementDerived for EventTarget { fn is_htmlinputelement(&self) -> bool { - self.type_id == NodeTargetTypeId(ElementNodeTypeId(HTMLInputElementTypeId)) + *self.type_id() == NodeTargetTypeId(ElementNodeTypeId(HTMLInputElementTypeId)) } } |