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.
2 parents 33f4811 + 5bef881 commit bdd21c6Copy full SHA for bdd21c6
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