fix else if style

This commit is contained in:
barisusakli
2015-01-12 23:11:32 -05:00
parent 5f12679426
commit be8385e8dc

View File

@@ -58,8 +58,7 @@ define('forum/recent', ['forum/infinitescroll'], function(infinitescroll) {
} else if (newPostCount > 1) {
text = '[[recent:there-are-new-posts, ' + newPostCount + ']]';
}
}
else if (newTopicCount === 1) {
} else if (newTopicCount === 1) {
if (newPostCount === 0) {
text = '[[recent:there-is-a-new-topic]]';
} else if (newPostCount === 1) {