summaryrefslogtreecommitdiff
path: root/content/handlers/html/html_object.c
diff options
context:
space:
mode:
Diffstat (limited to 'content/handlers/html/html_object.c')
-rw-r--r--content/handlers/html/html_object.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/content/handlers/html/html_object.c b/content/handlers/html/html_object.c
index acd32565b..37bf29faf 100644
--- a/content/handlers/html/html_object.c
+++ b/content/handlers/html/html_object.c
@@ -178,6 +178,10 @@ html_object_callback(hlcache_handle *object,
box->flags & REPLACE_DIM) {
union content_msg_data data;
+ if (c->had_initial_layout == false) {
+ break;
+ }
+
if (!box_visible(box))
break;
@@ -212,6 +216,10 @@ html_object_callback(hlcache_handle *object,
if (c->base.status != CONTENT_STATUS_LOADING) {
union content_msg_data data = event->data;
+ if (c->had_initial_layout == false) {
+ break;
+ }
+
if (!box_visible(box))
break;