aboutsummaryrefslogtreecommitdiff
path: root/html
diff options
context:
space:
mode:
authorBen Harris <bjh21@bjh21.me.uk>2022-12-03 13:54:38 +0000
committerBen Harris <bjh21@bjh21.me.uk>2022-12-05 14:07:03 +0000
commit83b504af27c4b8701643fe5d3d3595ac3982d363 (patch)
treef13fa8ff33d71c7a60411e0d2f32fb52efe8d058 /html
parent9cb0abb58403a121dddbd78a779a0116ddb65234 (diff)
downloadpuzzles-83b504af27c4b8701643fe5d3d3595ac3982d363.zip
puzzles-83b504af27c4b8701643fe5d3d3595ac3982d363.tar.gz
puzzles-83b504af27c4b8701643fe5d3d3595ac3982d363.tar.bz2
puzzles-83b504af27c4b8701643fe5d3d3595ac3982d363.tar.xz
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.
Diffstat (limited to 'html')
-rwxr-xr-xhtml/jspage.pl4
1 files changed, 1 insertions, 3 deletions
diff --git a/html/jspage.pl b/html/jspage.pl
index 06e9f24..d52113e 100755
--- a/html/jspage.pl
+++ b/html/jspage.pl
@@ -328,7 +328,7 @@ ${unfinishedheading}
${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 @@ ${unfinishedpara}
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>
@@ -368,7 +367,6 @@ ${unfinishedpara}
<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
than a second or two, then <strong>this WebAssembly puzzle doesn't