From 091fd734150e84fdbfe2dfd996d6d16ad5259b3a Mon Sep 17 00:00:00 2001 From: Awais Jibran Date: Thu, 23 Feb 2017 14:33:04 +0500 Subject: [PATCH] posts are not automatically followed. TNL-6582 --- common/static/common/js/discussion/views/new_post_view.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/static/common/js/discussion/views/new_post_view.js b/common/static/common/js/discussion/views/new_post_view.js index 4992fc9227..9ef0d5bd63 100644 --- a/common/static/common/js/discussion/views/new_post_view.js +++ b/common/static/common/js/discussion/views/new_post_view.js @@ -138,7 +138,7 @@ group = this.$('.js-group-select option:selected').attr('value'); anonymous = false || this.$('.js-anon').is(':checked'); anonymousToPeers = false || this.$('.js-anon-peers').is(':checked'); - follow = false || this.$('.js-follow').is(':checked'); + follow = false || this.$('input[name=follow]').is(':checked'); topicId = this.isTabMode() ? this.topicView.getCurrentTopicId() : this.topicId; url = DiscussionUtil.urlFor('create_thread', topicId); return DiscussionUtil.safeAjax({