From: Darren Date: Sat, 15 Mar 2014 13:58:15 +0000 (+0000) Subject: Switching .indexOf for IE8 support X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=a2094b47bafb71964c13622225e96aca87566477;p=KiwiIRC.git Switching .indexOf for IE8 support --- 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); }