summaryrefslogtreecommitdiff
path: root/render/html_script.c
diff options
context:
space:
mode:
Diffstat (limited to 'render/html_script.c')
-rw-r--r--render/html_script.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/render/html_script.c b/render/html_script.c
index 9c14e84ce..89d67413e 100644
--- a/render/html_script.c
+++ b/render/html_script.c
@@ -255,7 +255,7 @@ convert_script_defer_cb(hlcache_handle *script,
/* if there are no active fetches remaining begin post parse
* conversion
*/
- if (parent->base.active == 0) {
+ if (html_can_begin_conversion(parent)) {
html_begin_conversion(parent);
}
@@ -349,7 +349,7 @@ convert_script_sync_cb(hlcache_handle *script,
/* if there are no active fetches remaining begin post parse
* conversion
*/
- if (parent->base.active == 0) {
+ if (html_can_begin_conversion(parent)) {
html_begin_conversion(parent);
}