mirror of
https://github.com/nextcloud/server.git
synced 2026-03-08 00:11:03 -05:00
Merge pull request #41141 from nextcloud/backport/41117/stable26
[stable26] fix(login): Fix JS error on login grant page
This commit is contained in:
commit
bdd21c6b60
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue