From 3661d0b1a1fd6028f3f2939be643bc09ce1d7bc3 Mon Sep 17 00:00:00 2001 From: Maxime Poulin Date: Wed, 24 Feb 2016 19:06:23 -0500 Subject: [PATCH] Fix CSS selector syntax Doesn't do much, but it prevents unneeded exceptions which are annoying when debugging. --- client/js/lounge.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/js/lounge.js b/client/js/lounge.js index dafafbc7..0b023f6a 100644 --- a/client/js/lounge.js +++ b/client/js/lounge.js @@ -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");