mirror of
https://github.com/nextcloud/server.git
synced 2026-03-01 13:00:44 -05:00
fix(grant): remove JS error on Grant page
Closes #41098 Signed-off-by: Magnus Anderssen <magnus@magooweb.com>
This commit is contained in:
parent
4c8232f04c
commit
57dae366ca
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