Add first-class <noscript/> support to Supported Games page. Also fix css issue where the game title did not display a cursor:pointer when hovered.

This commit is contained in:
Chris Wilson
2023-10-02 21:40:31 -04:00
parent 6b48f9aac5
commit 4c06d1193a
3 changed files with 48 additions and 2 deletions

View File

@@ -1,4 +1,5 @@
window.addEventListener('load', () => {
document.getElementById('js-enabled').style.display = 'block';
const gameHeaders = document.getElementsByClassName('collapse-toggle');
Array.from(gameHeaders).forEach((header) => {
const gameName = header.getAttribute('data-game');