We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f06187a commit dda7841Copy full SHA for dda7841
frontend/javascript/index.js
@@ -173,14 +173,14 @@ async function applyServerListJSON() {
173
function populateDropdown(servers) {
174
const serverSelector = document.querySelector("div.server-selector");
175
const serverList = serverSelector.querySelector("ul.servers");
176
- serverSelector.classList.add("active");
177
178
// If we have only a single server, just show it
179
if (servers.length === 1) {
180
serverSelector.classList.add("single-server");
181
selectServer(servers[0]);
182
return;
183
}
+ serverSelector.classList.add("active");
184
185
// Make the dropdown open and close
186
serverSelector.addEventListener("click", () => {
0 commit comments