subs: Update get_subscriber_list to use subscription_setings.

This commit is contained in:
Tim Abbott 2016-11-04 14:17:28 -07:00
parent 109287dceb
commit b1a5d57405
1 changed files with 2 additions and 1 deletions

View File

@ -275,7 +275,8 @@ function format_member_list_elem(email) {
}
function get_subscriber_list(sub_row) {
return sub_row.find('.subscriber_list_container .subscriber-list');
var id = sub_row.data("stream-id");
return $('.subscription_settings[data-stream-id="' + id + '"] .subscriber-list');
}
function prepend_subscriber(sub_row, email) {