We retard friendly now!
This commit is contained in:
parent
9faa4ec3ff
commit
c5af521a48
@ -1199,8 +1199,14 @@
|
|||||||
|
|
||||||
qr = {
|
qr = {
|
||||||
init: function() {
|
init: function() {
|
||||||
var iframe;
|
var h1, iframe;
|
||||||
if (!$.id('recaptcha_challenge_field_holder')) return;
|
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) {
|
g.callbacks.push(function(root) {
|
||||||
return $.on($('.quotejs + .quotejs', root), 'click', qr.quote);
|
return $.on($('.quotejs + .quotejs', root), 'click', qr.quote);
|
||||||
});
|
});
|
||||||
|
|||||||
@ -862,6 +862,11 @@ nav =
|
|||||||
qr =
|
qr =
|
||||||
init: ->
|
init: ->
|
||||||
return unless $.id 'recaptcha_challenge_field_holder'
|
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) ->
|
g.callbacks.push (root) ->
|
||||||
$.on $('.quotejs + .quotejs', root), 'click', qr.quote
|
$.on $('.quotejs + .quotejs', root), 'click', qr.quote
|
||||||
iframe = $.el 'iframe',
|
iframe = $.el 'iframe',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user