diff --git a/client/js/lounge.js b/client/js/lounge.js index a67bf019..342db87c 100644 --- a/client/js/lounge.js +++ b/client/js/lounge.js @@ -771,7 +771,7 @@ $(function() { chat.on("input", ".search", function() { var value = $(this).val().toLowerCase(); var names = $(this).closest(".users").find(".names"); - names.find("button").each(function() { + names.find(".user").each(function() { var btn = $(this); var name = btn.text().toLowerCase().replace(/[+%@~]/, ""); if (name.indexOf(value) === 0) {