diff options
Diffstat (limited to 'components/script/dom/htmlparamelement.rs')
-rw-r--r-- | components/script/dom/htmlparamelement.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/htmlparamelement.rs b/components/script/dom/htmlparamelement.rs index f729242b879..7845a767512 100644 --- a/components/script/dom/htmlparamelement.rs +++ b/components/script/dom/htmlparamelement.rs @@ -22,7 +22,7 @@ pub struct HTMLParamElement { impl HTMLParamElementDerived for EventTarget { fn is_htmlparamelement(&self) -> bool { - self.type_id == NodeTargetTypeId(ElementNodeTypeId(HTMLParamElementTypeId)) + *self.type_id() == NodeTargetTypeId(ElementNodeTypeId(HTMLParamElementTypeId)) } } |