From d100a41ce7ec0db89ad25d6d64ffe9b769636e10 Mon Sep 17 00:00:00 2001 From: Baris Soner Usakli Date: Tue, 4 Mar 2014 15:23:26 -0500 Subject: [PATCH] fixes topic follow --- public/src/forum/topic.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/src/forum/topic.js b/public/src/forum/topic.js index a74c3d18fe..a5bdc4f6c1 100644 --- a/public/src/forum/topic.js +++ b/public/src/forum/topic.js @@ -286,7 +286,7 @@ define(['composer', 'forum/pagination'], function(composer, pagination) { set_follow_state(state, false); }); - $('.posts .follow').on('click', function() { + $('.posts').on('click', '.follow', function() { socket.emit('topics.follow', tid, function(err, state) { if(err) { return app.alert({