Merge pull request #102 from maxpoulin64/bad-selector-fix

Fix CSS selector syntax in channel message handler
This commit is contained in:
Jérémie Astori 2016-02-24 21:54:02 -05:00
commit b34c6ec3ae

View File

@ -649,7 +649,7 @@ $(function() {
});
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 type = msg.type;
var highlight = type.contains("highlight");