]> gitweb.michael.orlitzky.com - charm-bypass.git/commitdiff
index.html.in: two spaces for indentation
authorMichael Orlitzky <michael@orlitzky.com>
Thu, 11 Sep 2025 13:23:22 +0000 (09:23 -0400)
committerMichael Orlitzky <michael@orlitzky.com>
Thu, 11 Sep 2025 13:23:22 +0000 (09:23 -0400)
index.html.in

index 8b4f6e9f2981ffca3c15bf079b21ec3864781f7d..b70c62acea9cdb577576662d173e110afc1fbc11 100644 (file)
        * on the declared/rendered width of the code background.
        */
       function svg_to_client() {
-          const codebg = document.getElementById("codebg");
-          const client_width = codebg.getBoundingClientRect().width;
-          const svg_width = parseFloat(codebg.getAttribute("width"));
-          return client_width / svg_width;
+        const codebg = document.getElementById("codebg");
+        const client_width = codebg.getBoundingClientRect().width;
+        const svg_width = parseFloat(codebg.getAttribute("width"));
+        return client_width / svg_width;
       }
 
+
       /**
        * Resize the  ticket background based on the service name.
        * The BaltimoreLink, Commuter Bus, and MARC Train tickets