Update contrast on the burger button. fix error thrown by update_select
This commit is contained in:
parent
5ac9733f15
commit
5671fd462b
@ -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"];
|
||||
|
@ -307,6 +307,9 @@
|
||||
<a class="show-modal" data-modal="chooseTimezoneModal">
|
||||
<span class="icon"><i class="fas fa-map-marked"></i></span> Timezone
|
||||
</a>
|
||||
<a href="/login/discord/logout">
|
||||
<span class="icon"><i class="fas fa-sign-out"></i></span> Log out
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user