From c6ed9da458becbbd08234a29a5db9d5a58a6e52e Mon Sep 17 00:00:00 2001 From: Darren Date: Sun, 7 Oct 2012 17:53:42 +0100 Subject: [PATCH] join/parts no longer highlighting its tab --- client_backbone/css/style.css | 1 + client_backbone/dev/view.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/client_backbone/css/style.css b/client_backbone/css/style.css index 5034eb7..9fc5f47 100644 --- a/client_backbone/css/style.css +++ b/client_backbone/css/style.css @@ -80,6 +80,7 @@ a { color:#36C; text-decoration:none; cursor:pointer; } font-weight: bold; } #toolbar .panellist .alert_activity { font-weight: bold; background: #009900; } +#toolbar .panellist .alert_action { font-weight: bold; } #toolbar .panellist li img { width:1em; height:1em; top:7px; right:5px; position:absolute; } #toolbar .panellist li img.icon { left:5px; top:2px; height:auto; width:auto; } diff --git a/client_backbone/dev/view.js b/client_backbone/dev/view.js index 8fb20be..f8106d5 100755 --- a/client_backbone/dev/view.js +++ b/client_backbone/dev/view.js @@ -317,7 +317,7 @@ kiwi.view.Panel = Backbone.View.extend({ line_msg = '
<%- time %>
<%- nick %>
<%= msg %>
'; $this.append(_.template(line_msg, msg)); - if (msg.type === 'action') { + if (msg.type.match(/^action /)) { this.alert('action'); } else if (msg.msg.indexOf(kiwi.gateway.get('nick')) > -1) { this.alert('highlight'); -- 2.25.1