From 3fc7036d328fe582bc6cab30944e7c9169d14a57 Mon Sep 17 00:00:00 2001 From: Pavel Djundik Date: Fri, 25 Mar 2016 16:43:30 +0200 Subject: [PATCH] Don't reset time in link expander and hide time with css --- client/css/style.css | 4 ++++ src/plugins/irc-events/link.js | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/client/css/style.css b/client/css/style.css index 41373540..37e5b08b 100644 --- a/client/css/style.css +++ b/client/css/style.css @@ -868,6 +868,10 @@ button, color: #f00; } +#chat .msg.toggle .time { + visibility: hidden; +} + #chat .toggle-button { background: #f5f5f5; border-radius: 2px; diff --git a/src/plugins/irc-events/link.js b/src/plugins/irc-events/link.js index 1f19bba0..af21a1d4 100644 --- a/src/plugins/irc-events/link.js +++ b/src/plugins/irc-events/link.js @@ -34,7 +34,6 @@ module.exports = function(irc, network) { var msg = new Msg({ type: Msg.Type.TOGGLE, - time: "" }); chan.messages.push(msg); client.emit("msg", {