Skip to content

Commit bac9f25

Browse files
committed
Merge branch 'embedded-captcha-js' into 'master'
Fix JS event listener in captcha.js See merge request authzsvc/backends/captcha-api!5
2 parents ab6fa8d + 61dfe95 commit bac9f25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

captcha_api/static/captcha.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -89,4 +89,4 @@ const Captcha = () => {
8989
reload();
9090
}
9191

92-
document.getElementById("cern-captcha").addEventListener("load", Captcha());
92+
document.addEventListener("load", Captcha());

0 commit comments

Comments
 (0)