Skip to content

Commit

Permalink
making sure that form data is being erased properly when hhitting pre…
Browse files Browse the repository at this point in the history
…vious"
  • Loading branch information
naiyume committed Jul 1, 2022
1 parent 8ddd73b commit 6081426
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions replace2.js
Original file line number Diff line number Diff line change
Expand Up @@ -1102,6 +1102,7 @@ export function stopSubmit(event) {

if (event.target.clickType == "BACK") {
resetChildren(event.target.elements);
event.target.value = undefined;
let buttonClicked = event.target.getElementsByClassName("previous")[0];
previousClicked(buttonClicked, moduleParams.renderObj.retrieve, moduleParams.renderObj.store, rootElement);
} else if (event.target.clickType == "RESET ANSWER") {
Expand Down

0 comments on commit 6081426

Please sign in to comment.