fix hide-images.js interactions (should be STI-safe)

This commit is contained in:
czaks 2013-12-25 18:12:00 +01:00
parent c918953d33
commit 2382603b4d
2 changed files with 15 additions and 10 deletions

View file

@ -27,7 +27,7 @@ $(document).ready(function(){
success: function(data) {
var last_expanded = false;
$(data).find('div.post.reply').each(function() {
thread.find('.hidden').remove();
thread.find('div.hidden').remove();
var post_in_doc = thread.find('#' + $(this).attr('id'));
if(post_in_doc.length == 0) {
if(last_expanded) {