diff options
author | athenian200 <athenian200@outlook.com> | 2020-01-16 14:15:23 -0600 |
---|---|---|
committer | athenian200 <athenian200@outlook.com> | 2020-01-16 14:15:23 -0600 |
commit | 1f8d508258ac5d7d57fc4eb35cac90f28bc8ca03 (patch) | |
tree | b88643ecd136e0cc2e50d3573a3a4e170cd6a594 | |
parent | 42e48167713abfa3c1f11274179b489bb6369b57 (diff) | |
download | UXP-1f8d508258ac5d7d57fc4eb35cac90f28bc8ca03.tar UXP-1f8d508258ac5d7d57fc4eb35cac90f28bc8ca03.tar.gz UXP-1f8d508258ac5d7d57fc4eb35cac90f28bc8ca03.tar.lz UXP-1f8d508258ac5d7d57fc4eb35cac90f28bc8ca03.tar.xz UXP-1f8d508258ac5d7d57fc4eb35cac90f28bc8ca03.zip |
Issue #1356 - Restore older syntax.
Some newer Firefox syntax snuck into my last bug. Just to be on the safe side I'm restoring the older syntax here.
-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 |