diff options
| author | Marcin Łabanowski <marcin@6irc.net> | 2012-12-25 01:10:50 +0100 |
|---|---|---|
| committer | Marcin Łabanowski <marcin@6irc.net> | 2012-12-25 01:10:50 +0100 |
| commit | d3cd26be65ce7941c68f6402693fea23858037f3 (patch) | |
| tree | 393c6649c349a4bce57d3e81115a6be45f2a7754 /js/imgcaptcha.js | |
| parent | 144343a7c668554f8f70b0a86b31236582230a74 (diff) | |
| parent | b1125a9b56b71820b9c555618bd376413adffc5e (diff) | |
Merge branch 'master' of github.com:vichan-devel/Tinyboard
Diffstat (limited to 'js/imgcaptcha.js')
| -rw-r--r-- | js/imgcaptcha.js | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/js/imgcaptcha.js b/js/imgcaptcha.js index 8d3ed95c..99aad414 100644 --- a/js/imgcaptcha.js +++ b/js/imgcaptcha.js @@ -1,15 +1,11 @@ -//function obecnyCzas() { -// return Math.round(new Date().getTime() / 1000); -//} - function ic_odswiezKapcze() { - $.get("/imgcaptcha_p.php", function(data) { + $.get(configRoot + "imgcaptcha_p.php", function(data) { $("#imgcaptcha_hash").val(data); - $("#imgcaptcha_img").prop("src","/imgcaptcha_im.php?cr=" + data); + $("#imgcaptcha_img").prop("src",configRoot + "imgcaptcha_im.php?cr=" + data); }); } //function resetujKapcze() { -// $("#imgcaptcha_img").prop("src","/zakrytek.png"); +// $("#imgcaptcha_img").prop("src",configRoot + "zakrytek.png"); //} //$(document).ready(function(){ // //resetujKapcze(); - to nie powinno byc na razie potrzebne |
