From ca290c51aec341891390d8a012867e527f0ab171 Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Thu, 26 Oct 2023 18:51:02 -0400 Subject: [PATCH] index.html.in: don't re-center the security code on window resize It just doesn't seem to be necessary. --- index.html.in | 4 ---- 1 file changed, 4 deletions(-) diff --git a/index.html.in b/index.html.in index 44b31c5..a160090 100644 --- a/index.html.in +++ b/index.html.in @@ -396,10 +396,6 @@ * any errors become unnoticeable. */ window.addEventListener("load", center_code_repeatedly); - /* Re-center the security code when the window is resized, - * and in particular after the ticket is re-centered */ - window.addEventListener("resize", center_code); - /* Set the ticket expiration date/time upon page load */ window.addEventListener("load", set_ticket_expiry); -- 2.44.2