This commit is contained in:
Gregor Kleen 2019-05-05 12:49:28 +02:00
parent 2f8588da96
commit 83eb22896e

View File

@ -197,7 +197,7 @@
massInputForm.removeEventListener('submit', massInputFormSubmitHandler)
Array.from(element.querySelectorAll('.' + MASS_INPUT_SUBMIT_BUTTON_CLASS)).forEach(function(button) {
button.removeEventListener('click', submitHandler);
button.removeEventListener('click', massInputFormSubmitHandler);
button.classList.remove(MASS_INPUT_SUBMIT_BUTTON_CLASS);
button.setAttribute('type', 'submit');
});