]> gitweb.michael.orlitzky.com - charm-bypass.git/commitdiff
index.html.in: don't re-center the security code on window resize
authorMichael Orlitzky <michael@orlitzky.com>
Thu, 26 Oct 2023 22:51:02 +0000 (18:51 -0400)
committerMichael Orlitzky <michael@orlitzky.com>
Thu, 26 Oct 2023 22:51:02 +0000 (18:51 -0400)
It just doesn't seem to be necessary.

index.html.in

index 44b31c5bea1c4ea32051b55007962c151c5069f0..a160090ffdbb1ea9e9dcb2546f5ae2ed7b16ebe6 100644 (file)
        * 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);