Skip to content

Commit

Permalink
Fix #37106
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolasDerumigny committed Jan 16, 2025
1 parent fea4552 commit cd59cec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/media_source/com_content/js/form-edit.es6.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
document.querySelectorAll(`[${buttonDataSelector}]`).forEach((button) => {
button.addEventListener('click', (e) => {
e.preventDefault();
const task = e.target.getAttribute(buttonDataSelector);
const task = button.getAttribute(buttonDataSelector);
submitTask(task);
});
});
Expand Down

0 comments on commit cd59cec

Please sign in to comment.