Lowercase user search in chat sidebar to match lowercased names

This commit is contained in:
Matias Singers 2014-09-09 14:49:17 +08:00
parent 2f5be12d00
commit a206b26eb9
1 changed files with 1 additions and 1 deletions

View File

@ -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);