mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-06 22:15:48 +01:00
removed comments in topic.js
This commit is contained in:
@@ -454,15 +454,6 @@
|
|||||||
element.attr('class', 'icon-star-empty');
|
element.attr('class', 'icon-star-empty');
|
||||||
socket.emit('api:posts.unfavourite', {pid: pid, room_id: app.current_room});
|
socket.emit('api:posts.unfavourite', {pid: pid, room_id: app.current_room});
|
||||||
}
|
}
|
||||||
|
|
||||||
/*if (this.children[2].className == 'icon-star-empty') {
|
|
||||||
this.children[2].className = 'icon-star';
|
|
||||||
socket.emit('api:posts.favourite', {pid: pid, room_id: app.current_room});
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
this.children[2].className = 'icon-star-empty';
|
|
||||||
socket.emit('api:posts.unfavourite', {pid: pid, room_id: app.current_room});
|
|
||||||
}*/
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user