Fix a typo; add a suggestion about hard refreshing a broken game

This commit is contained in:
Eevee (Evelyn Woods) 2021-12-22 22:31:37 -07:00
parent 1e02c6aa6f
commit a088e50b3b
2 changed files with 2 additions and 1 deletions

View File

@ -151,6 +151,7 @@
<h1>oops!</h1> <h1>oops!</h1>
<p>Sorry, the game was unable to load at all.</p> <p>Sorry, the game was unable to load at all.</p>
<p>If you have JavaScript partly or wholly blocked, I salute you! ...but this is an interactive game and cannot work without it.</p> <p>If you have JavaScript partly or wholly blocked, I salute you! ...but this is an interactive game and cannot work without it.</p>
<p>If not, it's possible that the game updated, but you have a mix of old and new code. Try a hard refresh (Ctrl-Shift-R).</p>
<p class="-with-error">I did manage to capture this error, which you might be able to <a href="https://github.com/eevee/lexys-labyrinth/issues/new">report somewhere</a>:</p> <p class="-with-error">I did manage to capture this error, which you might be able to <a href="https://github.com/eevee/lexys-labyrinth/issues/new">report somewhere</a>:</p>
<pre class="-with-error stack-trace"></pre> <pre class="-with-error stack-trace"></pre>
</main> </main>

View File

@ -974,7 +974,7 @@ class Player extends PrimaryView {
// Auto-delete captions once their animations end // Auto-delete captions once their animations end
this.captions_el.addEventListener('animationend', ev => { this.captions_el.addEventListener('animationend', ev => {
if (ev.target !== this.captions_el) { if (ev.target !== this.captions_el) {
this.target.remove(); ev.target.remove();
} }
}); });