css patch

This commit is contained in:
Xamora 2023-12-18 22:27:17 +01:00
parent 651fbbd67f
commit c6f6e216f2
2 changed files with 5 additions and 1 deletions

View File

@ -42,6 +42,11 @@
#app #add_chat_off { #app #add_chat_off {
text-decoration: underline; text-decoration: underline;
cursor: pointer;
}
#app #add_chat_on {
cursor: pointer;
} }
#app #messages { #app #messages {

View File

@ -52,7 +52,6 @@ export default class extends AbstractView {
// chat // chat
if (logged && client.me.user_id != user.user_id) { if (logged && client.me.user_id != user.user_id) {
let add_chat = document.createElement("a"); let add_chat = document.createElement("a");
add_chat.href = "";
add_chat.id = "add_chat_off"; add_chat.id = "add_chat_off";
add_chat.onclick = async () => { add_chat.onclick = async () => {
if (client.channel != undefined) { if (client.channel != undefined) {