mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-06 14:05:46 +01:00
fixed topic posting bug, if there was only 1 topic in a category the next posted topic in that category wasnt showing up until a full page reload
This commit is contained in:
@@ -34,8 +34,9 @@ define(function() {
|
||||
|
||||
app.enter_room('topic_' + tid);
|
||||
|
||||
if($('#post-container .sub-posts').length)
|
||||
$('.topic-main-buttons').removeClass('hide');
|
||||
if($('#post-container .sub-posts').length) {
|
||||
$('.topic-main-buttons').removeClass('hide').parent().removeClass('hide');
|
||||
}
|
||||
|
||||
$('.twitter-share').on('click', function () {
|
||||
window.open(twitter_url, '_blank', 'width=550,height=420,scrollbars=no,status=no');
|
||||
|
||||
Reference in New Issue
Block a user