From a206b26eb94105398b0538e71da31962e116f6fb Mon Sep 17 00:00:00 2001 From: Matias Singers Date: Tue, 9 Sep 2014 14:49:17 +0800 Subject: [PATCH] Lowercase user search in chat sidebar to match lowercased names --- client/js/shout.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/js/shout.js b/client/js/shout.js index 7cb573c1..bfd0f683 100644 --- a/client/js/shout.js +++ b/client/js/shout.js @@ -341,7 +341,7 @@ $(function() { }); chat.on("input", ".search", function() { - var value = $(this).val(); + var value = $(this).val().toLowerCase(); var names = $(this).closest(".users").find(".names"); names.find("button").each(function() { var btn = $(this);