diff --git a/client/js/lounge.js b/client/js/lounge.js index b0193469..167ba0b3 100644 --- a/client/js/lounge.js +++ b/client/js/lounge.js @@ -204,7 +204,7 @@ $(function() { var template = "msg"; if (!data.msg.highlight && !data.msg.self && (type === "message" || type === "notice") && highlights.some(function(h) { - return data.msg.text.indexOf(h) > -1; + return data.msg.text.toLocaleLowerCase().indexOf(h.toLocaleLowerCase()) > -1; })) { data.msg.highlight = true; }