diff options
| author | Pinapelz <yukais@pinapelz.com> | 2026-07-03 21:23:32 -0700 |
|---|---|---|
| committer | Pinapelz <yukais@pinapelz.com> | 2026-07-03 21:23:32 -0700 |
| commit | 361e4d860fcca66dad0dd99b965b297d92ac748c (patch) | |
| tree | 62052c68828b8a7f1376c60c9eee95d28cfba094 /src | |
| parent | 04eb44d685ba677a444b73c7cfc2427d2740497f (diff) | |
add UI elements for going to admin registration page
Signed-off-by: Pinapelz <yukais@pinapelz.com>
Diffstat (limited to 'src')
| -rw-r--r-- | src/client/Buttons.hx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/Buttons.hx b/src/client/Buttons.hx index f3a2474..82054ab 100644 --- a/src/client/Buttons.hx +++ b/src/client/Buttons.hx @@ -234,8 +234,8 @@ class Buttons { checkboxCache.checked = settings.checkedCache.contains(playerType); final panel = getEl("#addfromurl"); - final oldH = panel.style.height; // save for animation - panel.style.height = ""; // to calculate height from content + final oldH = panel.style.height; + panel.style.height = ""; final newH = Utils.outerHeight(panel) + "px"; panel.style.height = oldH; Timer.delay(() -> panel.style.height = newH, 0); |
