Skip to content

Commit 61dfe95

Browse files
committedMar 3, 2022
Fix JS event listener in captcha.js
1 parent ab6fa8d commit 61dfe95

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)
Please sign in to comment.