diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-05-31 20:36:19 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-05-31 20:36:19 +0200 |
commit | dcb1894e0c708df0677187355c6743c08ac44c26 (patch) | |
tree | 9edd4c4eccde099a95edc8d7436dce8b92e3aba0 /module/web | |
parent | ShareLinksBiz decrypter (diff) | |
download | pyload-dcb1894e0c708df0677187355c6743c08ac44c26.tar.xz |
fixed positional captchas + availbillity over thrift
Diffstat (limited to 'module/web')
-rw-r--r-- | module/web/templates/default/captcha.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/module/web/templates/default/captcha.html b/module/web/templates/default/captcha.html index 0165fed10..6c0099773 100644 --- a/module/web/templates/default/captcha.html +++ b/module/web/templates/default/captcha.html @@ -29,7 +29,7 @@ }
function set_captcha(data) {
- $('cap_id').set('value', data.id);
+ $('cap_id').set('value', data.id);
if (data.result_type == 'textual') {
$('cap_textual_img').set('src', data.src);
$('cap_title').set('text', '{{_("Please read the text on the captcha.")}}');
@@ -61,7 +61,7 @@ }
function on_cap_click(e) {
- var position = event.target.getPosition();
+ var position = e.target.getPosition();
var x = e.page.x - position.x;
var y = e.page.y - position.y;
$('cap_result').value = x + "," + y;
@@ -96,7 +96,7 @@ </div>
<div id="cap_positional" style="text-align: center">
- <img id="cap_positional_img" src="" style="margin: 10px;">
+ <img id="cap_positional_img" src="" style="margin: 10px; cursor:pointer">
</div>
<div id="button_bar" style="text-align: center">
|