Make a code comment clearer (subscription settings)

(imported from commit 085cdc43371fbdf9b0e93f7de13bda9264e41c92)
This commit is contained in:
Scott Feeney scott@humbughq.com 2013-06-18 16:14:48 -04:00
parent 9322e63d32
commit 0119423d27
1 changed files with 2 additions and 3 deletions

View File

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