We retard friendly now!

This commit is contained in:
Nicolas Stepien 2012-02-01 21:19:14 +01:00
parent 9faa4ec3ff
commit c5af521a48
2 changed files with 12 additions and 1 deletions

View File

@ -1199,8 +1199,14 @@
qr = {
init: function() {
var iframe;
var h1, iframe;
if (!$.id('recaptcha_challenge_field_holder')) return;
$('form[name=post]').hidden = true;
h1 = $.el('h1', {
innerHTML: '<a href=javascript:;>Open the Quick Reply</a>'
});
$.on($('a', h1), 'click', qr.open);
$.add($('.postarea'), h1);
g.callbacks.push(function(root) {
return $.on($('.quotejs + .quotejs', root), 'click', qr.quote);
});

View File

@ -862,6 +862,11 @@ nav =
qr =
init: ->
return unless $.id 'recaptcha_challenge_field_holder'
$('form[name=post]').hidden = true
h1 = $.el 'h1'
innerHTML: '<a href=javascript:;>Open the Quick Reply</a>'
$.on $('a', h1), 'click', qr.open
$.add $('.postarea'), h1
g.callbacks.push (root) ->
$.on $('.quotejs + .quotejs', root), 'click', qr.quote
iframe = $.el 'iframe',