From 6e17f34fd8ba1ab249cf233bf2df6b65fc9bce6b Mon Sep 17 00:00:00 2001 From: James Campos Date: Mon, 16 May 2011 01:19:10 -0700 Subject: [PATCH] don't embed captcha in --- 4chan_x.js | 4 +++- script.coffee | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/4chan_x.js b/4chan_x.js index aeb9db20d..3b74bd95f 100644 --- a/4chan_x.js +++ b/4chan_x.js @@ -1147,7 +1147,7 @@ name = $('input[name=name]').value; mail = $('input[name=email]').value; pass = $('input[name=pwd]').value; - html = "
Quick Reply X
"; + html = "
Quick Reply X
"; dialog = ui.dialog('qr', { top: '0px', left: '0px' @@ -1156,6 +1156,7 @@ return e.stopPropagation(); }); $.bind($('#autohide', dialog), 'click', qr.cb.autohide); + $.bind($('img', dialog), 'click', Recaptcha.reload); if ($('.postarea label')) { spoiler = $.el('label', { innerHTML: " [Spoiler Image?]" @@ -2538,6 +2539,7 @@ #qr img {\ border: 1px solid #AAA;\ margin: 0px;\ + cursor: pointer;\ }\ \ #updater {\ diff --git a/script.coffee b/script.coffee index 11bca4c56..6c3168e16 100644 --- a/script.coffee +++ b/script.coffee @@ -918,7 +918,7 @@ qr =
-
+
@@ -929,6 +929,7 @@ qr = $.bind $('input[name=name]', dialog), 'mousedown', (e) -> e.stopPropagation() $.bind $('#autohide', dialog), 'click', qr.cb.autohide + $.bind $('img', dialog), 'click', Recaptcha.reload if $ '.postarea label' spoiler = $.el 'label', @@ -2005,6 +2006,7 @@ main = #qr img { border: 1px solid #AAA; margin: 0px; + cursor: pointer; } #updater {