Lowercase user search in chat sidebar to match lowercased names
This commit is contained in:
parent
2f5be12d00
commit
a206b26eb9
@ -341,7 +341,7 @@ $(function() {
|
|||||||
});
|
});
|
||||||
|
|
||||||
chat.on("input", ".search", function() {
|
chat.on("input", ".search", function() {
|
||||||
var value = $(this).val();
|
var value = $(this).val().toLowerCase();
|
||||||
var names = $(this).closest(".users").find(".names");
|
var names = $(this).closest(".users").find(".names");
|
||||||
names.find("button").each(function() {
|
names.find("button").each(function() {
|
||||||
var btn = $(this);
|
var btn = $(this);
|
||||||
|
Loading…
Reference in New Issue
Block a user