We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents cc07624 + 58b1729 commit 6aaed8aCopy full SHA for 6aaed8a
webcompat/static/js/lib/wizard/steps/submit.js
@@ -55,7 +55,7 @@ const onFormSubmit = (event) => {
55
// about which <button> was clicked (since one wasn't clicked).
56
// So we send that with the form data via a hidden input.
57
const saveSubmitType = (event) => {
58
- submitTypeField.val(event.target.name);
+ submitTypeField.val(event.currentTarget.name);
59
};
60
61
submitButtons.on("click", saveSubmitType);
0 commit comments