From b1a5d574052609f281727c41c83e0ad3a68e9290 Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Fri, 4 Nov 2016 14:17:28 -0700 Subject: [PATCH] subs: Update get_subscriber_list to use subscription_setings. --- static/js/subs.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/static/js/subs.js b/static/js/subs.js index de670aae74..de5bc09669 100644 --- a/static/js/subs.js +++ b/static/js/subs.js @@ -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) {