We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1b72f8e commit 58b1729Copy full SHA for 58b1729
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