Update contrast on the burger button. fix error thrown by update_select
This commit is contained in:
@ -234,6 +234,13 @@ div#pageNavbar a {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.navbar-burger, .navbar-burger:active, .navbar-burger.is-active {
|
||||
background-color: #adc99c !important;
|
||||
border-radius: 14px;
|
||||
padding: 6px;
|
||||
background-clip: content-box;
|
||||
}
|
||||
|
||||
div#pageNavbar a:hover {
|
||||
background-color: #4a4a4a;
|
||||
}
|
||||
|
@ -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