]> gitweb.michael.orlitzky.com - charm-bypass.git/blobdiff - index.html.in
index.html.in: make the service letter bold with CSS
[charm-bypass.git] / index.html.in
index 866ac109574bc1821c731ac1b17f4aa059438003..0c18fbb0672847939c1865f2bc700cc9b62045c9 100644 (file)
@@ -83,6 +83,7 @@
 
       #serviceletter {
        font-family: "CharmBypass Bold", sans-serif;
+        font-weight: bold;
       }
 
       /************************/
       /****************************************/
 
       function set_code() {
-        /* All <text> elements produced by inkscape contain a single <tspan>
-         * that itself contains the actual text. This does something real
-         * sneaky, and actually OVERWRITES that tspan with our own text
-         * content. This turns out to be what we need anyway because trying
-         * to center a (display: inline) tspan is a pain in the butt. */
         const ct = document.getElementById("codetext");
 
         /* Get the "code" from the querystring if it's there */
          * corner cases (well, for a few more decades). */
         date.setTime(date.getTime() + (90*60*1000));
 
-        /* All <text> elements produced by inkscape contain a single <tspan>
-         * that itself contains the actual text. */
-        tt = document.getElementById("tickettime").firstChild;
+        tt = document.getElementById("tickettime");
         tt.textContent = date.toLocaleTimeString();
 
         const td = document.getElementById("ticketdate");