aboutsummaryrefslogtreecommitdiffstats
path: root/src/client
diff options
context:
space:
mode:
authorPinapelz <yukais@pinapelz.com>2026-07-03 21:23:32 -0700
committerPinapelz <yukais@pinapelz.com>2026-07-03 21:23:32 -0700
commit361e4d860fcca66dad0dd99b965b297d92ac748c (patch)
tree62052c68828b8a7f1376c60c9eee95d28cfba094 /src/client
parent04eb44d685ba677a444b73c7cfc2427d2740497f (diff)
add UI elements for going to admin registration page
Signed-off-by: Pinapelz <yukais@pinapelz.com>
Diffstat (limited to 'src/client')
-rw-r--r--src/client/Buttons.hx4
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);
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage