fix pinned games breaking everything

This commit is contained in:
Sky 2023-08-29 10:39:49 -04:00
parent 4f4773ddae
commit 33c7e07947
2 changed files with 1 additions and 2 deletions

View File

@ -100,7 +100,7 @@
<div id="games"> <div id="games">
<h2>All Games</h2> <h2>All Games</h2>
<p id="message">Please wait for the games to load.. If you see this for more than a second, try reloading and reporting a <a href="https://forms.gle/j75WUn6UhdqsRZgf7">bug report</a>.</p> <p id="message">Please wait for the games to load.. If you see this for more than a second, try reloading, and if you keep seeing this message, <a href="https://forms.gle/j75WUn6UhdqsRZgf7">report a bug</a>.</p>
</div> </div>
</div> </div>

View File

@ -42,7 +42,6 @@ $.getJSON("/games.json", function (data) {
if ($("#pinnedgames #message")) { if ($("#pinnedgames #message")) {
$("#pinnedmessage").hide(); $("#pinnedmessage").hide();
} }
$element.addEventListener("error", imageNotFound);
} }
$("#games").append($element); $("#games").append($element);