summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--js/post-hover.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/js/post-hover.js b/js/post-hover.js
index d68c103d..68dfc98e 100644
--- a/js/post-hover.js
+++ b/js/post-hover.js
@@ -63,7 +63,10 @@ $(document).ready(function(){
url: url,
context: document.body,
success: function(data) {
- $('div.post:first').prepend($(data).find('div.post.reply').css('display', 'none').addClass('hidden'));
+ $(data).find('div.post.reply').each(function() {
+ if($('#' + $(this).attr('id')).length == 0)
+ $('div.post:first').prepend($(this).css('display', 'none').addClass('hidden'));
+ });
if(typeof window.enable_fa == 'function' && localStorage['forcedanon'])
enable_fa();