shithub: puzzles

Download patch

ref: 83b504af27c4b8701643fe5d3d3595ac3982d363
parent: 9cb0abb58403a121dddbd78a779a0116ddb65234
author: Ben Harris <bjh21@bjh21.me.uk>
date: Sat Dec 3 08:54:38 EST 2022

js: Remove a layer of <div> from the HTML page

It wasn't doing anything useful, and I was getting fed up with having to
expand it in the inspector.

--- a/html/jspage.pl
+++ b/html/jspage.pl
@@ -328,7 +328,7 @@
 ${unfinishedpara}
 
 <hr>
-<div id="puzzle" style="display: none">
+<div id="puzzle" style="display: none" align=center>
 <form id="gamemenu"><ul>
   <li><div tabindex="0">Game<ul>
     <li><button type="button" id="specific">Enter game ID...</button></li>
@@ -354,7 +354,6 @@
     Solve<span class="verbiage"> game</span>
   </button></li>
 </ul></form>
-<div align=center>
   <div id="resizable">
   <canvas id="puzzlecanvas" tabindex="0"></canvas>
   <div id="statusbar"></div>
@@ -367,7 +366,6 @@
     <a id="permalink-desc">by game ID</a>
     <a id="permalink-seed">by random seed</a>
   </p>
-</div>
 </div>
 <div id="apology">
 <p class="apology-title">If you've been reading this message for more