diff options
| author | Jake Mannens <jake@asger.xyz> | 2023-10-16 02:01:27 +1100 |
|---|---|---|
| committer | Jake Mannens <jake@asger.xyz> | 2023-10-16 02:01:27 +1100 |
| commit | 07728d1048f34e1d048da63684b341ab30bc1d06 (patch) | |
| tree | 9c92b30be5f3cd060827edc2ff5836b6122a9cdd /Pages/Component/Titlebar.razor | |
| parent | ea89ec0c1b05ac246f2ffd5907daace27564100b (diff) | |
FeedService and AclDialog
Diffstat (limited to 'Pages/Component/Titlebar.razor')
| -rw-r--r-- | Pages/Component/Titlebar.razor | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/Pages/Component/Titlebar.razor b/Pages/Component/Titlebar.razor index 766787a..73700bc 100644 --- a/Pages/Component/Titlebar.razor +++ b/Pages/Component/Titlebar.razor @@ -15,10 +15,7 @@ if(resp.ok) { window.location.href = '/'; } else if(resp.status == 403) { - form.classList.remove('bad-login'); - @* TODO: improve this hacky method of triggering reflow *@ - form.offsetWidth; - form.classList.add('bad-login'); + cycleClass(form, 'bad-login'); inputs.forEach(e => e.value = null); inputs[0].focus(); } else { |
