Skip to content
Snippets Groups Projects
Commit e45edc19 authored by Jeremy Kersten's avatar Jeremy Kersten
Browse files

[FIX] website_mail_channel: Impossible to subscribe to forum_post

Missing from previous commit 50382418
parent ee42be59
No related branches found
No related tags found
No related merge requests found
......@@ -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());
}
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment