diff --git a/app/javascript/shared/activestorage/ujs.js b/app/javascript/shared/activestorage/ujs.js index 55432abf7..f9908dd89 100644 --- a/app/javascript/shared/activestorage/ujs.js +++ b/app/javascript/shared/activestorage/ujs.js @@ -14,7 +14,7 @@ addEventListener(START_EVENT, ({ target, detail: { id } }) => { ProgressBar.start(id); const button = target.form.querySelector('button.primary'); if (button) { - delete button.dataset.confirm; + button.removeAttribute('data-confirm'); } });