mirror of https://github.com/zulip/zulip.git
Make a code comment clearer (subscription settings)
(imported from commit 085cdc43371fbdf9b0e93f7de13bda9264e41c92)
This commit is contained in:
parent
9322e63d32
commit
0119423d27
|
@ -826,13 +826,12 @@ $(function () {
|
|||
$("#subscriptions_table").on("click", "#sub_setting_in_home_view", stream_home_view_clicked);
|
||||
$("#subscriptions_table").on("click", "#sub_setting_notifications", stream_notifications_clicked);
|
||||
|
||||
// From here down is only stuff that happens when we're rendering
|
||||
// the subscriber settings
|
||||
if (! should_render_subscribers()) {
|
||||
return;
|
||||
}
|
||||
|
||||
// From here down is only stuff that happens when we're rendering
|
||||
// the subscriber settings
|
||||
|
||||
$("#subscriptions_table").on("submit", ".subscriber_list_add form", function (e) {
|
||||
e.preventDefault();
|
||||
var sub_row = $(e.target).closest('.subscription_row');
|
||||
|
|
Loading…
Reference in New Issue