Fix client error on selecting server with no channels

This commit is contained in:
jude
2023-07-30 15:11:34 +01:00
parent 90df265114
commit 51c9d8a7ae
3 changed files with 3 additions and 3 deletions

View File

@ -62,7 +62,7 @@ function update_select(sel) {
channelDisplay.textContent = `#${sel.selectedOptions[0].textContent}`;
}
if (sel.selectedOptions[0] === null) {
if (sel.selectedOptions[0] === undefined) {
return;
}