Skip to content

Commit

Permalink
Merge pull request #41117 from callmemagnus/bugfix/grant__js-error
Browse files Browse the repository at this point in the history
fix(login): Fix JS error on login grant page
  • Loading branch information
susnux committed Oct 26, 2023
2 parents 7cc3291 + 57dae36 commit 082fa64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/js/login/grant.js
Expand Up @@ -3,7 +3,7 @@ document.querySelector('form').addEventListener('submit', function(e) {
if (wrapper === null) {
return
}
wrapper.getElementsByClassName('icon-confirm-white').forEach(function(el) {
Array.from(wrapper.getElementsByClassName('icon-confirm-white')).forEach(function(el) {
el.classList.remove('icon-confirm-white')
el.classList.add(OCA.Theming && OCA.Theming.inverted ? 'icon-loading-small' : 'icon-loading-small-dark')
el.disabled = true
Expand Down

0 comments on commit 082fa64

Please sign in to comment.