mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-22 20:16:54 +03:00
HTML object hlcache callback: Ensure final fetch completion triggers reformat.
Even if the final fetch finished with ERRORCODE.
This commit is contained in:
parent
2ad990f3d5
commit
c0205478c0
@ -440,7 +440,8 @@ html_object_callback(hlcache_handle *object,
|
||||
c->base.active == 0 &&
|
||||
(event->type == CONTENT_MSG_LOADING ||
|
||||
event->type == CONTENT_MSG_DONE ||
|
||||
event->type == CONTENT_MSG_ERROR)) {
|
||||
event->type == CONTENT_MSG_ERROR ||
|
||||
event->type == CONTENT_MSG_ERRORCODE)) {
|
||||
/* all objects have arrived */
|
||||
content__reformat(&c->base, false, c->base.available_width,
|
||||
c->base.height);
|
||||
|
Loading…
Reference in New Issue
Block a user