From: Michael Orlitzky Date: Thu, 26 Oct 2023 22:51:02 +0000 (-0400) Subject: index.html.in: don't re-center the security code on window resize X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=ca290c51aec341891390d8a012867e527f0ab171;p=charm-bypass.git index.html.in: don't re-center the security code on window resize It just doesn't seem to be necessary. --- 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);