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

Conflicts:
	js/expand.js
This commit is contained in:
czaks 2013-12-25 18:12:00 +01:00 committed by Michael Foster
parent bb3f3db0cd
commit 22869ce015
2 changed files with 15 additions and 9 deletions

View file

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