chiark / gitweb /
Fix the 'puzzle doesn't work' apology, which I'd accidentally moved
authorSimon Tatham <anakin@pobox.com>
Sat, 6 Apr 2013 12:28:21 +0000 (12:28 +0000)
committerSimon Tatham <anakin@pobox.com>
Sat, 6 Apr 2013 12:28:21 +0000 (12:28 +0000)
inside the top-level display:none puzzle container as a side effect of
r9809.

Also, while I'm at it, reword the apology to mention typed arrays as
the most likely cause of failure (AFAIK that's the most modern feature
required by the JS front end), and fix indecision between singular and
plural ('this puzzle' doesn't work, perhaps a feature 'they depend on'
is missing).

[originally from svn r9818]
[r9809 == 5dc559c8be1b8f6ed15f560433f25c952c874f93]

html/jspage.pl

index f7c0f0fa8dce9ad8d91864477ce550eb06ea8b69..d6e41677515433b566c3d7c058cb86dd4c09f8e4 100755 (executable)
@@ -94,13 +94,14 @@ ${unfinishedpara}
     <a id="permalink-seed">by random seed</a>
   </p>
 </div>
+</div>
 <div id="apology">
-Sorry, this Javascript puzzle doesn't seem to work on your web
+Sorry, this Javascript puzzle doesn't seem to work in your web
 browser. Perhaps you have Javascript disabled, or perhaps your browser
-doesn't provide a feature they depend on. These puzzles have been
-successfully run in Firefox 19, Chrome 26, Internet Explorer 10 and
-Safari 6.
-</div>
+doesn't provide a feature that the puzzle code requires (such as
+<a href="https://developer.mozilla.org/en-US/docs/JavaScript/Typed_arrays">typed arrays</a>).
+These puzzles have been successfully run in Firefox 19, Chrome 26,
+Internet Explorer 10 and Safari 6.
 </div>
 <hr>