fix(form): remove correct reset event listener on teardown

This commit is contained in:
Wessel Loth 2020-03-19 10:25:40 +01:00
parent f286e3ac28
commit 9cd0ed364f

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);
}
}