Remove some dead code in stream_list.js.

I forgot to remove this code in a recent refactoring that copied
this code into activity.js.  It should not have caused any errors,
but it's no longer needed.
This commit is contained in:
Steve Howell 2016-11-11 17:00:12 -08:00 committed by Tim Abbott
parent fad0a86554
commit 8fa519ded6
1 changed files with 0 additions and 6 deletions

View File

@ -155,12 +155,6 @@ function get_filter_li(type, name) {
if (type === 'stream') {
var sub = stream_data.get_sub(name);
return $("#stream_sidebar_" + sub.stream_id);
} else if (type === "private") {
if (name.indexOf(",") < 0) {
return $("li.user_sidebar_entry[data-email='" + name + "']");
} else {
return $("li.group-pms-sidebar-entry[data-emails='" + name + "']");
}
}
return iterate_to_find("#" + type + "_filters > li", name);
}