Browse Source

Don't clone replies we can already see. That will break stuff.

pull/40/head
Michael Save 12 years ago
parent
commit
de5e7e27ec
  1. 5
      js/post-hover.js

5
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();

Loading…
Cancel
Save