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

13 lines
407 B
JavaScript
Raw Normal View History

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