Browse Source
Merge pull request #41117 from callmemagnus/bugfix/grant__js-error
fix(login): Fix JS error on login grant page
pull/41135/head
Ferdinand Thiessen
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
core/js/login/grant.js
|
|
|
@ -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 |
|
|
|
|