Skip to content

Commit

Permalink
Use target
Browse files Browse the repository at this point in the history
  • Loading branch information
Crabcyborg committed Oct 17, 2024
1 parent dc7a055 commit 7ccb50a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/formidable_admin.js
Original file line number Diff line number Diff line change
Expand Up @@ -10932,7 +10932,7 @@ function frmAdminBuildJS() {
manageStyleSettings.addEventListener(
'change',
event => {
const target = event.originalTarget;
const target = event.target;
if ( 'SELECT' !== target.nodeName || ! target.dataset.name || target.getAttribute( 'name' ) ) {
return;
}
Expand Down

0 comments on commit 7ccb50a

Please sign in to comment.