mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-15 14:43:46 +01:00
Merge pull request #5190 from overleaf/jpa-sso-oauth-de-ng
[web] de-ng sso/oauth/institutional account linking pages GitOrigin-RevId: 50718cefff68142431aa411cb4f8644a3d8ab93f
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
export function disableElement(el) {
|
||||
el.setAttribute('disabled', '')
|
||||
el.setAttribute('aria-disabled', 'true')
|
||||
}
|
||||
|
||||
export function enableElement(el) {
|
||||
el.removeAttribute('disabled')
|
||||
el.removeAttribute('aria-disabled')
|
||||
}
|
||||
Reference in New Issue
Block a user