diff --git a/js/thread-stats.js b/js/thread-stats.js
index 1785b79a..9b9b3cb3 100644
--- a/js/thread-stats.js
+++ b/js/thread-stats.js
@@ -50,9 +50,12 @@ $(document).ready(function(){
ids[opID] = 0;
}
ids[opID]++;
+ var cur = op.find('>.intro >.poster_id');
+ cur.find('+.posts_by_id').remove();
+ cur.after(' ('+ ids[cur.text()] +')');
replies.each(function(){
- var cur = $(this).find('> .intro > .poster_id');
- cur.find('+ .posts_by_id').remove();
+ cur = $(this).find('>.intro >.poster_id');
+ cur.find('+.posts_by_id').remove();
cur.after(' ('+ ids[cur.text()] +')');
});
var size = function(obj) {