We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec5006a commit 5bef881Copy full SHA for 5bef881
1 file changed
core/js/login/grant.js
@@ -3,7 +3,7 @@ document.querySelector('form').addEventListener('submit', function(e) {
3
if (wrapper === null) {
4
return
5
}
6
- wrapper.getElementsByClassName('icon-confirm-white').forEach(function(el) {
+ Array.from(wrapper.getElementsByClassName('icon-confirm-white')).forEach(function(el) {
7
el.classList.remove('icon-confirm-white')
8
el.classList.add(OCA.Theming && OCA.Theming.inverted ? 'icon-loading-small' : 'icon-loading-small-dark')
9
el.disabled = true
0 commit comments