From ba00738f1f9916c3cf2f343e9444745164a91bbb Mon Sep 17 00:00:00 2001 From: Max Leiter Date: Thu, 29 Dec 2016 18:03:05 -1000 Subject: [PATCH] Fix searching for user in user list, closes #851 --- client/js/lounge.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/js/lounge.js b/client/js/lounge.js index 774aeddd..7dbfa829 100644 --- a/client/js/lounge.js +++ b/client/js/lounge.js @@ -1112,7 +1112,7 @@ $(function() { names.find(".user").each(function() { var btn = $(this); var name = btn.text().toLowerCase().replace(/[+%@~]/, ""); - if (name.indexOf(value) === 0) { + if (name.indexOf(value) > -1) { btn.show(); } else { btn.hide();