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) {