revert fix qr on inlined quotes

This commit is contained in:
James Campos 2011-05-16 00:41:31 -07:00
parent 6d95e2b4da
commit 6507d375f0
2 changed files with 2 additions and 2 deletions

View File

@ -1141,7 +1141,7 @@
dialog: function(link) {
var MAX_FILE_SIZE, THREAD_ID, challenge, dialog, el, html, mail, name, pass, spoiler, src;
MAX_FILE_SIZE = $('input[name="MAX_FILE_SIZE"]').value;
THREAD_ID = g.THREAD_ID || $.x('preceding::div[@class="op"][1]', link).id;
THREAD_ID = g.THREAD_ID || link.pathname.split('/').pop();
challenge = $('input[name=recaptcha_challenge_field]').value;
src = "http://www.google.com/recaptcha/api/image?c=" + challenge;
name = $('input[name=name]').value;

View File

@ -897,7 +897,7 @@ qr =
dialog: (link) ->
#maybe should be global
MAX_FILE_SIZE = $('input[name="MAX_FILE_SIZE"]').value
THREAD_ID = g.THREAD_ID or $.x('preceding::div[@class="op"][1]', link).id
THREAD_ID = g.THREAD_ID or link.pathname.split('/').pop()
challenge = $('input[name=recaptcha_challenge_field]').value
src = "http://www.google.com/recaptcha/api/image?c=#{challenge}"
name = $('input[name=name]').value