forked from leftypol/leftypol
Post hover: hide images when need to
This commit is contained in:
parent
0565e2119d
commit
5774d21632
2 changed files with 12 additions and 4 deletions
|
@ -69,9 +69,11 @@ onready(function(){
|
|||
context: document.body,
|
||||
success: function(data) {
|
||||
$(data).find('div.post.reply').each(function() {
|
||||
// Not 100% sure that this doesn't break shit:
|
||||
$(document).trigger('new_post', this);
|
||||
|
||||
if($('#' + $(this).attr('id')).length == 0)
|
||||
$('div.post:first').prepend($(this).css('display', 'none').addClass('hidden'));
|
||||
|
||||
});
|
||||
|
||||
$post = $('div.post#reply_' + id);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue