ensure disabled form inputs are reset after browser navigation

This commit is contained in:
byte[] 2020-09-14 20:53:11 -04:00
parent 6a045ce88e
commit 6de4ad3ac4

View file

@ -104,3 +104,7 @@ delegate(document, 'submit', {
delegate(document, 'reset', {
form: formReset
});
window.addEventListener('pageshow', () => {
[].forEach.call(document.forms, form => formReset(null, form));
});