From a2094b47bafb71964c13622225e96aca87566477 Mon Sep 17 00:00:00 2001 From: Darren Date: Sat, 15 Mar 2014 13:58:15 +0000 Subject: [PATCH] Switching .indexOf for IE8 support --- client/src/views/channel.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/views/channel.js b/client/src/views/channel.js index 45b585d..db2122f 100644 --- a/client/src/views/channel.js +++ b/client/src/views/channel.js @@ -216,7 +216,7 @@ _kiwi.view.Channel = _kiwi.view.Panel.extend({ 'action mode' ]; - if (count_all_activity || exclude_message_types.indexOf(msg.type) === -1) { + if (count_all_activity || _.indexOf(exclude_message_types, msg.type) === -1) { $act.text((parseInt($act.text(), 10) || 0) + 1); } -- 2.25.1