fix captcha reload for ukko page

This commit is contained in:
Jeff Becker committed 2016-11-02 16:18:12 -04:00
1 parent 6d7f2bd587
commit f47b181290
1 file changed
+6 -3
+6 -3
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"));
};
}
});