diff --git a/src/bundle/Resources/public/js/scripts/admin.location.add.translation.js b/src/bundle/Resources/public/js/scripts/admin.location.add.translation.js index 457e79e379..cf076f0b0b 100644 --- a/src/bundle/Resources/public/js/scripts/admin.location.add.translation.js +++ b/src/bundle/Resources/public/js/scripts/admin.location.add.translation.js @@ -10,6 +10,6 @@ doc.querySelectorAll('.ibexa-translation__language-wrapper--language').forEach((select) => { toggleBtnDisabledState(select); - select.addEventListener('change', toggleBtnDisabledState, false); + select.addEventListener('change', ({ target }) => toggleBtnDisabledState(target), false); }); })(window, window.document);