diff options
Diffstat (limited to 'activestorage/app/javascript/activestorage/ujs.js')
-rw-r--r-- | activestorage/app/javascript/activestorage/ujs.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/activestorage/app/javascript/activestorage/ujs.js b/activestorage/app/javascript/activestorage/ujs.js index a2ce2cfc58..1dda02936f 100644 --- a/activestorage/app/javascript/activestorage/ujs.js +++ b/activestorage/app/javascript/activestorage/ujs.js @@ -53,6 +53,7 @@ function submitForm(form) { if (button) { const { disabled } = button button.disabled = false + button.focus() button.click() button.disabled = disabled } else { |