Fix CSS selector syntax
Doesn't do much, but it prevents unneeded exceptions which are annoying when debugging.
This commit is contained in:
parent
81fcf54dd5
commit
3661d0b1a1
@ -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");
|
||||||
|
Loading…
Reference in New Issue
Block a user