mirror of
https://github.com/ArchipelagoMW/Archipelago.git
synced 2026-03-26 19:53:26 -07:00
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:
@@ -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');
|
||||
|
||||
@@ -24,6 +24,10 @@
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
#games h2 .game-name{
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
#games p.collapsed{
|
||||
display: none;
|
||||
}
|
||||
@@ -51,3 +55,7 @@
|
||||
#games #page-controls button{
|
||||
margin-left: 0.5rem;
|
||||
}
|
||||
|
||||
#games #js-enabled{
|
||||
display: none;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user