1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-30 18:24:29 +01:00
vichan/js/imgcaptcha.js

17 lines
453 B
JavaScript
Raw Normal View History

2012-12-22 17:25:52 +01:00
//function obecnyCzas() {
// return Math.round(new Date().getTime() / 1000);
//}
2012-12-22 17:52:18 +01:00
function ic_odswiezKapcze() {
2012-12-22 17:44:43 +01:00
$.get("/imgcaptcha_p.php", function(data) {
2012-12-22 17:25:52 +01:00
$("#imgcaptcha_hash").val(data);
2012-12-22 17:44:43 +01:00
$("#imgcaptcha_img").prop("src","/imgcaptcha_im.php?cr=" + data);
2012-12-22 17:25:52 +01:00
});
}
//function resetujKapcze() {
// $("#imgcaptcha_img").prop("src","/zakrytek.png");
//}
//$(document).ready(function(){
// //resetujKapcze(); - to nie powinno byc na razie potrzebne
//});