1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-27 17:00:52 +01:00
vichan/js/imgcaptcha.js

17 lines
469 B
JavaScript
Raw Normal View History

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