[FIX] website_mail_channel: Impossible to subscribe to forum_post

Missing from previous commit 503824184c
This commit is contained in:
Jeremy Kersten
2016-02-14 16:12:30 +01:00
parent ee42be5921
commit e45edc1912
@@ -87,7 +87,7 @@ animation.registry.follow_alias = animation.Class.extend({
$('.js_follow_btn').on('click', function (ev) {
if ($(ev.currentTarget).closest('.js_mg_follow_form')) {
if ($(ev.currentTarget).closest('.js_mg_follow_form').length) {
$('.js_follow_email').val($(ev.currentTarget).closest('.js_mg_follow_form').find('.js_follow_email').val());
}
});