Skip to content

Commit

Permalink
Add comment
Browse files Browse the repository at this point in the history
Signed-off-by: Emanuele Feliziani <[email protected]>
  • Loading branch information
GioSensation committed Oct 25, 2023
1 parent 7b89b5e commit f7cf4d4
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions dist/autofill-debug.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/autofill.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/Form/Form.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ class Form {
(records) => {
const anythingRemoved = records.some(record => record.removedNodes.length > 0)
if (anythingRemoved) {
// Ensure we destroy the form if it's removed from the DOM
if (!this.form.isConnected) {
this.destroy()
return
Expand Down
1 change: 1 addition & 0 deletions swift-package/Resources/assets/autofill-debug.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions swift-package/Resources/assets/autofill.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit f7cf4d4

Please sign in to comment.