From 1bc7cac4f542c68e16f6159e26603555706d4121 Mon Sep 17 00:00:00 2001 From: zottel Date: Tue, 10 Dec 2013 09:14:27 +0100 Subject: When counting not yet loaded images, count all in .wall-item-body. --- js/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/main.js b/js/main.js index ba36861b2..70d11bfd3 100644 --- a/js/main.js +++ b/js/main.js @@ -527,7 +527,7 @@ function updateConvItems(mode,data) { /* autocomplete @nicknames */ $(".comment-edit-form textarea").contact_autocomplete(baseurl+"/acl"); - var bimgs = $(".wall-item-body > img").not(function() { return this.complete; }); + var bimgs = $(".wall-item-body img").not(function() { return this.complete; }); var bimgcount = bimgs.length; if (bimgcount) { -- cgit v1.2.3