Issue #2790 - Cleanup: Remove whitespaces

This commit is contained in:
MeladJM 2025-07-28 01:01:27 +08:00 • committed by roytam1
commit 70cbf0dfd3
2 changed files with 1 additions and 5 deletions

View file

@ -235,9 +235,7 @@ FormHandler.prototype = {
* } * }
*/ */
autofillFormFields: function (aAutofillResult) { autofillFormFields: function (aAutofillResult) {
for (let field of aAutofillResult.fields) { for (let field of aAutofillResult.fields) {
// Get the field details, if it was processed by the user interface. // Get the field details, if it was processed by the user interface.
let fieldDetail = this.fieldDetails let fieldDetail = this.fieldDetails
.find(f => f.section == field.section && .find(f => f.section == field.section &&
@ -249,8 +247,6 @@ FormHandler.prototype = {
continue; continue;
} }
fieldDetail.element.value = field.value; fieldDetail.element.value = field.value;
if (typeof fieldDetail.element.setAutofilled === 'function') { if (typeof fieldDetail.element.setAutofilled === 'function') {
fieldDetail.element.setAutofilled(!!field.value); fieldDetail.element.setAutofilled(!!field.value);
} }