From 98c7d9492db7eba4f09e77fb15a69b7d9636aa4d Mon Sep 17 00:00:00 2001 From: Emanuele Feliziani Date: Tue, 12 Sep 2023 08:58:47 +0200 Subject: [PATCH] Minor change Signed-off-by: Emanuele Feliziani --- dist/autofill-debug.js | 2 +- dist/autofill.js | 2 +- src/Form/FormAnalyzer.js | 2 +- swift-package/Resources/assets/autofill-debug.js | 2 +- swift-package/Resources/assets/autofill.js | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/dist/autofill-debug.js b/dist/autofill-debug.js index 5bb8d998b..7a6af2146 100644 --- a/dist/autofill-debug.js +++ b/dist/autofill-debug.js @@ -11323,8 +11323,8 @@ class FormAnalyzer { isCCForm() { var _formEl$textContent; - const formEl = this.form; if (this._isCCForm !== undefined) return this._isCCForm; + const formEl = this.form; const ccFieldSelector = this.matching.joinCssSelectors('cc'); if (!ccFieldSelector) { diff --git a/dist/autofill.js b/dist/autofill.js index 33e549f82..a230cda9a 100644 --- a/dist/autofill.js +++ b/dist/autofill.js @@ -7647,8 +7647,8 @@ class FormAnalyzer { isCCForm() { var _formEl$textContent; - const formEl = this.form; if (this._isCCForm !== undefined) return this._isCCForm; + const formEl = this.form; const ccFieldSelector = this.matching.joinCssSelectors('cc'); if (!ccFieldSelector) { diff --git a/src/Form/FormAnalyzer.js b/src/Form/FormAnalyzer.js index 5ce2bbe9d..79e36061d 100644 --- a/src/Form/FormAnalyzer.js +++ b/src/Form/FormAnalyzer.js @@ -285,9 +285,9 @@ class FormAnalyzer { * @returns {boolean} */ isCCForm () { - const formEl = this.form if (this._isCCForm !== undefined) return this._isCCForm + const formEl = this.form const ccFieldSelector = this.matching.joinCssSelectors('cc') if (!ccFieldSelector) { this._isCCForm = false diff --git a/swift-package/Resources/assets/autofill-debug.js b/swift-package/Resources/assets/autofill-debug.js index 5bb8d998b..7a6af2146 100644 --- a/swift-package/Resources/assets/autofill-debug.js +++ b/swift-package/Resources/assets/autofill-debug.js @@ -11323,8 +11323,8 @@ class FormAnalyzer { isCCForm() { var _formEl$textContent; - const formEl = this.form; if (this._isCCForm !== undefined) return this._isCCForm; + const formEl = this.form; const ccFieldSelector = this.matching.joinCssSelectors('cc'); if (!ccFieldSelector) { diff --git a/swift-package/Resources/assets/autofill.js b/swift-package/Resources/assets/autofill.js index 33e549f82..a230cda9a 100644 --- a/swift-package/Resources/assets/autofill.js +++ b/swift-package/Resources/assets/autofill.js @@ -7647,8 +7647,8 @@ class FormAnalyzer { isCCForm() { var _formEl$textContent; - const formEl = this.form; if (this._isCCForm !== undefined) return this._isCCForm; + const formEl = this.form; const ccFieldSelector = this.matching.joinCssSelectors('cc'); if (!ccFieldSelector) {