Skip to content

Commit

Permalink
Remove async
Browse files Browse the repository at this point in the history
  • Loading branch information
SharkyKZ committed Jun 10, 2024
1 parent c1067f4 commit 852777f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/plugins/captcha/recaptcha_v3/src/Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ public function onInit($id = null)
'plg_captcha_recaptcha_v3.api.js',
'https://www.google.com/recaptcha/api.js?hl=' . $languageTag . '&render=' . $siteKey,
[],
['async' => true, 'defer' => true, 'referrerpolicy' => 'no-referrer'],
['defer' => true, 'referrerpolicy' => 'no-referrer'],
['core']
);
}
Expand All @@ -183,7 +183,7 @@ public function onInit($id = null)
'plg_captcha_recaptcha_v3.main.js',
'plg_captcha_recaptcha_v3/main.js',
['version' => self::SCRIPT_HASH],
['async' => true, 'defer' => true],
['defer' => true],
['plg_captcha_recaptcha_v3.api.js', 'core']
);
}
Expand Down

0 comments on commit 852777f

Please sign in to comment.