Merge pull request #65 from matiassingers/patch-2
Lowercase user search string in chat sidebar to match lowercased names
This commit is contained in:
commit
dea1fe1b66
@ -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