From b882153384c4f46052b7e08dda9e62e0bcb86e12 Mon Sep 17 00:00:00 2001 From: Kirk Steuber Date: Fri, 13 Dec 2019 21:26:05 +0000 Subject: [PATCH] Bug 1603554 - Replace XULElement.align with getAttribute/setAttribute r=bgrins Differential Revision: https://phabricator.services.mozilla.com/D57157 --HG-- extra : moz-landing-system : lando --- browser/extensions/formautofill/FormAutofillPreferences.jsm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/browser/extensions/formautofill/FormAutofillPreferences.jsm b/browser/extensions/formautofill/FormAutofillPreferences.jsm index e1bd9c927cb7..c8da2ff931c9 100644 --- a/browser/extensions/formautofill/FormAutofillPreferences.jsm +++ b/browser/extensions/formautofill/FormAutofillPreferences.jsm @@ -142,7 +142,7 @@ FormAutofillPreferences.prototype = { addressAutofillCheckbox.setAttribute("checked", true); } - addressAutofillCheckboxGroup.align = "center"; + addressAutofillCheckboxGroup.setAttribute("align", "center"); addressAutofillCheckboxGroup.flex = 1; formAutofillGroupBoxLabel.appendChild(formAutofillGroupBoxLabelHeading); @@ -213,7 +213,7 @@ FormAutofillPreferences.prototype = { creditCardAutofillCheckbox.setAttribute("checked", true); } - creditCardAutofillCheckboxGroup.align = "center"; + creditCardAutofillCheckboxGroup.setAttribute("align", "center"); creditCardAutofillCheckboxGroup.flex = 1; formAutofillGroup.appendChild(creditCardAutofill);