Update contrast on the burger button. fix error thrown by update_select
This commit is contained in:
@ -62,6 +62,10 @@ function update_select(sel) {
|
||||
channelDisplay.textContent = `#${sel.selectedOptions[0].textContent}`;
|
||||
}
|
||||
|
||||
if (sel.selectedOptions[0] === null) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (sel.selectedOptions[0].dataset["webhookAvatar"]) {
|
||||
sel.closest("div.reminderContent").querySelector("img.discord-avatar").src =
|
||||
sel.selectedOptions[0].dataset["webhookAvatar"];
|
||||
|
Reference in New Issue
Block a user