Fix searching for user in user list, closes #851

This commit is contained in:
Max Leiter 2016-12-29 18:03:05 -10:00
parent d9cde04af6
commit ba00738f1f

View File

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