shithub: puzzles

Download patch

ref: fe29d1cbf559d7916c43cd8d5fddd17ca08cfa7e
parent: b5ccb0c9afb17a566b0be172737cac1147ea2d8b
author: Ben Harris <bjh21@bjh21.me.uk>
date: Sun Nov 20 13:51:15 EST 2022

js: Replace status-bar holder in HTML with status bar itself

This makes the HTML simpler, and will allow for simplifying the JS too.

--- a/html/jspage.pl
+++ b/html/jspage.pl
@@ -286,10 +286,6 @@
     width: 100%;
 }
 
-#statusbarholder {
-    display: block;
-}
-
 #apology {
     padding: 0 1em 0 1em;
     margin: 1em;
@@ -339,7 +335,7 @@
   <div id="resizable">
   <canvas id="puzzlecanvas" width="1px" height="1px" tabindex="0">
   </canvas>
-  <div id="statusbarholder">
+  <div id="statusbar">
   </div>
   </div>
   <p>