Skip to content

Commit d70da43

Browse files
authored
Merge pull request #231 from BoldGrid/issue-230
fixes #230
2 parents f542df7 + f5b45fc commit d70da43

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

includes/admin/class-form-builder-assets.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,9 @@ public function builder_enqueue_scripts() {
6868
'integrations' => weforms()->integrations->get_integration_js_settings(),
6969
'recaptcha_site' => isset( $recaptcha->key ) ? $recaptcha->key : '',
7070
'recaptcha_secret' => isset( $recaptcha->secret ) ? $recaptcha->secret : '',
71-
'humanpresence_installed' => (
72-
class_exists( 'HumanPresenceWEFormsIntegration' ) &&
73-
isset( $humanpresence['wp_hp_premium_license'] ) &&
71+
'humanpresence_installed' => (
72+
class_exists( 'HumanPresenceWEFormsIntegration' ) &&
73+
isset( $humanpresence['wp_hp_premium_license'] ) &&
7474
$humanpresence['wp_hp_premium_license'] )
7575
? true : false,
7676
] );
@@ -213,7 +213,7 @@ public function builder_mixins_script() {
213213
<script>
214214
if (!window.Promise) {
215215
var promise_polyfill = document.createElement('script');
216-
promise_polyfill.setAttribute('src','https://cdn.polyfill.io/v2/polyfill.min.js');
216+
promise_polyfill.setAttribute('src','https://cdnjs.cloudflare.com/polyfill/v3/polyfill.min.js?version=4.8.0');
217217
document.head.appendChild(promise_polyfill);
218218
}
219219
</script>

0 commit comments

Comments
 (0)