diff options
Diffstat (limited to 'dom')
-rw-r--r-- | dom/html/nsGenericHTMLElement.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dom/html/nsGenericHTMLElement.h b/dom/html/nsGenericHTMLElement.h index 940404f93..acbebe087 100644 --- a/dom/html/nsGenericHTMLElement.h +++ b/dom/html/nsGenericHTMLElement.h @@ -818,7 +818,7 @@ public: * Returns the current disabled state of the element. */ bool IsDisabled() const { - return State().HasState(NS_EVENT_STATE_DISABLED); + return HasAttr(kNameSpaceID_None, nsGkAtoms::disabled); } bool IsHidden() const |