Fix CSS selector syntax

Doesn't do much, but it prevents unneeded exceptions which are annoying when debugging.
This commit is contained in:
Maxime Poulin 2016-02-24 19:06:23 -05:00
parent 81fcf54dd5
commit 3661d0b1a1

View File

@ -649,7 +649,7 @@ $(function() {
}); });
chat.on("msg", ".messages", function(e, target, msg) { chat.on("msg", ".messages", function(e, target, msg) {
var button = sidebar.find(".chan[data-target=" + target + "]"); var button = sidebar.find(".chan[data-target='" + target + "']");
var isQuery = button.hasClass("query"); var isQuery = button.hasClass("query");
var type = msg.type; var type = msg.type;
var highlight = type.contains("highlight"); var highlight = type.contains("highlight");