]> gitweb.michael.orlitzky.com - charm-bypass.git/blobdiff - index.html.in
index.html.in: fix a mis-indented javascript comment
[charm-bypass.git] / index.html.in
index f073f69bb8a9bbf78ecc976e0a57a9d5ece7c333..61578bd3ddb5aebef95767ae34ec8d49ebc097b6 100644 (file)
 
 
       function center_code() {
+        /* Center the security code inside its red box */
         const ct = document.getElementById("codetext");
 
-        /* Now center the security code inside its red box */
         /* First, find the center of the red box */
         const r1 = document.getElementById("codebg").getBoundingClientRect();
         const c1 = r1.left + (r1.width / 2);
       /* Set the security code text when the page has loaded */
       window.addEventListener("load", set_code);
 
-     /* Center the security code text when the page has loaded;
+      /* Center the security code text when the page has loaded;
        in particular, after we set it */
       window.addEventListener("load", center_code);