remove seat counts from option labels, locations show name only (except sold out)
This commit is contained in:
@@ -573,10 +573,8 @@
|
|||||||
opt.disabled = true;
|
opt.disabled = true;
|
||||||
opt.style.color = '#ff4444';
|
opt.style.color = '#ff4444';
|
||||||
opt.style.fontWeight = '600';
|
opt.style.fontWeight = '600';
|
||||||
} else if (available < 10) {
|
|
||||||
opt.textContent = label + ' (available ' + available + ')';
|
|
||||||
} else {
|
} else {
|
||||||
opt.textContent = label + ' (available ' + available + ')';
|
opt.textContent = label;
|
||||||
opt.style.color = '';
|
opt.style.color = '';
|
||||||
opt.style.fontWeight = '';
|
opt.style.fontWeight = '';
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-4
@@ -680,12 +680,9 @@ async function initServerLocations() {
|
|||||||
opt.disabled = true;
|
opt.disabled = true;
|
||||||
opt.style.color = "#ff4444";
|
opt.style.color = "#ff4444";
|
||||||
opt.style.fontWeight = "600";
|
opt.style.fontWeight = "600";
|
||||||
} else if (available < 10) {
|
|
||||||
// Low seats — show count
|
|
||||||
opt.textContent = label + " (available " + available + ")";
|
|
||||||
} else {
|
} else {
|
||||||
// Plenty of seats
|
// Plenty of seats
|
||||||
opt.textContent = label + " (available " + available + ")";
|
opt.textContent = label;
|
||||||
opt.style.color = "";
|
opt.style.color = "";
|
||||||
opt.style.fontWeight = "";
|
opt.style.fontWeight = "";
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user