Merge pull request #649 from ing-bank/fix/form-reset-remove-event-listener

fix(form): remove correct reset event listener on teardown
This commit is contained in:
Wessel Loth 2020-03-19 11:36:17 +01:00 committed by GitHub
commit 53d8eb1931
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -57,6 +57,6 @@ export class LionForm extends LionFieldset {
__teardownEventsForLionForm() {
this._formNode.removeEventListener('submit', this._submit);
this._formNode.removeEventListener('rest', this._reset);
this._formNode.removeEventListener('reset', this._reset);
}
}