1
0
mirror of https://github.com/roytam1/UXP.git synced 2026-05-26 13:58:49 +00:00

Issue #2532 - Default pref check to true

This commit is contained in:
Moonchild
2024-06-15 11:42:00 +02:00
committed by roytam1
parent 6ee3f46900
commit f598fe63cd
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -5936,7 +5936,7 @@ HTMLInputElement::ParseAttribute(int32_t aNamespaceID,
return aResult.ParseEnumValue(aValue, kFormMethodTable, false);
}
if (aAttribute == nsGkAtoms::formenctype) {
if (Preferences::GetBool("dom.dialog_element.enabled", false)) {
if (Preferences::GetBool("dom.dialog_element.enabled", true)) {
return aResult.ParseEnumValue(aValue, kFormMethodTableDialogEnabled, false);
}
return aResult.ParseEnumValue(aValue, kFormEnctypeTable, false);