Archived
1
0

fix captcha reload for ukko page

This commit is contained in:
Jeff Becker 2016-11-02 16:18:12 -04:00
parent 6d7f2bd587
commit f47b181290
No known key found for this signature in database
GPG Key ID: AB950234D6EA286B

View File

@ -14,7 +14,10 @@ function reload(el) {
}
onready(function(){
document.getElementById("captcha_img").onclick = function() {
reload(document.getElementById("captcha_img"));
};
var e = document.getElementById("captcha_img");
if (e) {
e.onclick = function() {
reload(document.getElementById("captcha_img"));
};
}
});