mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-12 17:05:51 +01:00
fixes topic follow
This commit is contained in:
@@ -286,7 +286,7 @@ define(['composer', 'forum/pagination'], function(composer, pagination) {
|
|||||||
set_follow_state(state, false);
|
set_follow_state(state, false);
|
||||||
});
|
});
|
||||||
|
|
||||||
$('.posts .follow').on('click', function() {
|
$('.posts').on('click', '.follow', function() {
|
||||||
socket.emit('topics.follow', tid, function(err, state) {
|
socket.emit('topics.follow', tid, function(err, state) {
|
||||||
if(err) {
|
if(err) {
|
||||||
return app.alert({
|
return app.alert({
|
||||||
|
|||||||
Reference in New Issue
Block a user