mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-08 16:58:38 +09:00
Fix nits
This commit is contained in:
parent
42d14af9a3
commit
c1b3280e01
1 changed files with 3 additions and 3 deletions
|
|
@ -130,7 +130,7 @@ HTMLLinkElement::SetMozDisabled(bool aDisabled)
|
|||
{
|
||||
ErrorResult rv;
|
||||
SetDisabled(aDisabled, rv);
|
||||
return rv.StealNSResult();
|
||||
return rv.StealNSResult();
|
||||
}
|
||||
|
||||
NS_IMPL_STRING_ATTR(HTMLLinkElement, Charset, charset)
|
||||
|
|
@ -415,8 +415,8 @@ HTMLLinkElement::AfterSetAttr(int32_t aNameSpaceID, nsIAtom* aName,
|
|||
} else {
|
||||
// If the disabled attribute is removed from a link element, the
|
||||
// stylesheet may be explicitly enabled.
|
||||
if (aNameSpaceID == kNameSpaceID_None && LINK_DISABLED) {
|
||||
if (aName == nsGkAtoms::disabled) {
|
||||
if (aNameSpaceID == kNameSpaceID_None) {
|
||||
if (aName == nsGkAtoms::disabled && LINK_DISABLED) {
|
||||
mExplicitlyEnabled = true;
|
||||
}
|
||||
// Since removing href or rel makes us no longer link to a
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue