diff --git a/Modules/Hybrid/GrowingWKWebViewJavascriptBridge_JS.m b/Modules/Hybrid/GrowingWKWebViewJavascriptBridge_JS.m index 7ae5653d..e7df8d7f 100644 --- a/Modules/Hybrid/GrowingWKWebViewJavascriptBridge_JS.m +++ b/Modules/Hybrid/GrowingWKWebViewJavascriptBridge_JS.m @@ -106,7 +106,7 @@ + (NSString *)createJavascriptBridgeJsWithNativeConfiguration: (e[c].namespace = s); var d = n.createElement('script'); var i = n.getElementsByTagName('script')[0]; - (d.async = !0), (d.src = t), i.parentNode.insertBefore(d, i); + (d.async = !0), (d.src = t), i != undefined ? i.parentNode.insertBefore(d, i) : n.head.appendChild(d); })(window, document, 'https://assets.giocdn.com/sdk/webjs/gdp-full.js', 'gdp'); window._gr_ignore_local_rule = true;