diff options
author | Magnus Anderssen <magnus@magooweb.com> | 2023-10-25 17:20:10 +0200 |
---|---|---|
committer | backportbot-nextcloud[bot] <backportbot-nextcloud[bot]@users.noreply.github.com> | 2023-10-26 14:17:52 +0000 |
commit | 61a0b93a67d832be08c26fd8a11f22939805b30d (patch) | |
tree | 0c9d6974d3a0bd995240497a0244e1e5009f670c | |
parent | 4fe430ccf21f8f001e6905784f06d3d0a01946b4 (diff) | |
download | nextcloud-server-61a0b93a67d832be08c26fd8a11f22939805b30d.tar.gz nextcloud-server-61a0b93a67d832be08c26fd8a11f22939805b30d.zip |
fix(grant): remove JS error on Grant page
Closes #41098
Signed-off-by: Magnus Anderssen <magnus@magooweb.com>
-rw-r--r-- | core/js/login/grant.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/js/login/grant.js b/core/js/login/grant.js index c458bbbab84..c4d49505059 100644 --- a/core/js/login/grant.js +++ b/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 |