add billing and mail address to autofill detection

This commit is contained in:
Kyle Spearrin 2019-02-07 16:16:45 -05:00
parent 95c1a5786d
commit 2a129c0e52
2 changed files with 3 additions and 3 deletions

2
jslib

@ -1 +1 @@
Subproject commit cdbe08ae7eb9f0b127ebc2e28de287ff8096aebc
Subproject commit dd46d5ecdd51f91dace5488272dd1f7bafd995c5

View File

@ -654,8 +654,8 @@ export default class AutofillService implements AutofillServiceInterface {
fillFields.email = f;
break;
} else if (!fillFields.address && this.isFieldMatch(f[attr],
['address', 'street-address', 'addr', 'street', 'mailing-address', 'billing-address',
'mail-address', 'bill-address'], [])) {
['address', 'street-address', 'addr', 'street', 'mailing-addr', 'billing-addr',
'mail-addr', 'bill-addr'], ['mailing-addr', 'billing-addr', 'mail-addr', 'bill-addr'])) {
fillFields.address = f;
break;
} else if (!fillFields.address1 && this.isFieldMatch(f[attr],