From c6f6e216f2abba9c5c0914b25535d736df54791e Mon Sep 17 00:00:00 2001 From: Xamora Date: Mon, 18 Dec 2023 22:27:17 +0100 Subject: [PATCH] css patch --- frontend/static/css/search.css | 5 +++++ frontend/static/js/views/Search.js | 1 - 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/frontend/static/css/search.css b/frontend/static/css/search.css index e9165c9..6935a5a 100644 --- a/frontend/static/css/search.css +++ b/frontend/static/css/search.css @@ -42,6 +42,11 @@ #app #add_chat_off { text-decoration: underline; + cursor: pointer; +} + +#app #add_chat_on { + cursor: pointer; } #app #messages { diff --git a/frontend/static/js/views/Search.js b/frontend/static/js/views/Search.js index f0bbe78..2b3a011 100644 --- a/frontend/static/js/views/Search.js +++ b/frontend/static/js/views/Search.js @@ -52,7 +52,6 @@ export default class extends AbstractView { // chat if (logged && client.me.user_id != user.user_id) { let add_chat = document.createElement("a"); - add_chat.href = ""; add_chat.id = "add_chat_off"; add_chat.onclick = async () => { if (client.channel != undefined) {