From 361e4d860fcca66dad0dd99b965b297d92ac748c Mon Sep 17 00:00:00 2001 From: Pinapelz Date: Fri, 3 Jul 2026 21:23:32 -0700 Subject: add UI elements for going to admin registration page Signed-off-by: Pinapelz --- src/client/Buttons.hx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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); -- cgit v1.2.3