Skip to content

Commit

Permalink
Merge branch 'embedded-captcha-js' into 'master'
Browse files Browse the repository at this point in the history
Fix JS event listener in captcha.js

See merge request authzsvc/backends/captcha-api!5
  • Loading branch information
asieraguado committed Mar 3, 2022
2 parents ab6fa8d + 61dfe95 commit bac9f25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion captcha_api/static/captcha.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,4 +89,4 @@ const Captcha = () => {
reload();
}

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

0 comments on commit bac9f25

Please sign in to comment.