From ac0ed835fb969989a468dfcb1198e4647c65e6ef Mon Sep 17 00:00:00 2001 From: James Campos Date: Mon, 26 Sep 2011 13:08:15 -0700 Subject: [PATCH] rm button bind --- 4chan_x.user.js | 3 --- script.coffee | 1 - 2 files changed, 4 deletions(-) diff --git a/4chan_x.user.js b/4chan_x.user.js index 7aa5cb875..f3e96f611 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -1467,9 +1467,6 @@ QR.cooldown(); } QR.foo(); - $.bind($('button', qr), 'click', function() { - return this.nextSibling.click(); - }); $.bind($('.close', qr), 'click', QR.close); $.bind($('form', qr), 'submit', QR.submit); $.bind($('#recaptcha_response_field', qr), 'keydown', QR.keydown); diff --git a/script.coffee b/script.coffee index e492d9166..4b8c9da6e 100644 --- a/script.coffee +++ b/script.coffee @@ -1109,7 +1109,6 @@ QR = $('textarea', qr).value = text QR.cooldown() if conf['Cooldown'] QR.foo() - $.bind $('button', qr), 'click', -> @nextSibling.click() $.bind $('.close', qr), 'click', QR.close $.bind $('form', qr), 'submit', QR.submit $.bind $('#recaptcha_response_field', qr), 'keydown', QR.keydown