From 32bce4220187ab3367a1fc1c095eef5c79b022b5 Mon Sep 17 00:00:00 2001 From: James Campos Date: Mon, 15 Aug 2011 20:17:21 -0700 Subject: [PATCH] get rid of names --- 4chan_x.user.js | 4 ++-- script.coffee | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/4chan_x.user.js b/4chan_x.user.js index 5de4b88c4..6fe362841 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -1290,7 +1290,7 @@ THREAD_ID = g.THREAD_ID || $.x('ancestor::div[@class="thread"]/div', link).id; spoiler = $('.postarea label') ? '' : ''; challenge = $('#recaptcha_challenge_field').value; - html = " X
Quick Reply
" + spoiler + "
" + ($.get('captchas', []).length) + " captchas
attach another file
"; + html = " X
Quick Reply
" + spoiler + "
" + ($.get('captchas', []).length) + " captchas
attach another file
"; qr.el = ui.dialog('qr', { top: '0px', left: '0px' @@ -1303,7 +1303,7 @@ $.bind($('input[name=upfile]', qr.el), 'change', qr.validateFileSize); $.bind($('#close', qr.el), 'click', qr.close); $.bind($('form', qr.el), 'submit', qr.submit); - $.bind($('a[name=attach]', qr.el), 'click', qr.attach); + $.bind($('#attach', qr.el), 'click', qr.attach); $.bind($('img', qr.el), 'click', Recaptcha.reload); $.bind($('#recaptcha_response_field', qr.el), 'keydown', Recaptcha.listener); $.bind($('#recaptcha_response_field', qr.el), 'keydown', qr.captchaKeydown); diff --git a/script.coffee b/script.coffee index e03ca8dd8..c36412257 100644 --- a/script.coffee +++ b/script.coffee @@ -1034,7 +1034,7 @@ qr = Quick Reply
-
+ @@ -1046,7 +1046,7 @@ qr =
-
attach another file
+
attach another file
" @@ -1059,7 +1059,7 @@ qr = $.bind $('input[name=upfile]', qr.el), 'change', qr.validateFileSize $.bind $('#close', qr.el), 'click', qr.close $.bind $('form', qr.el), 'submit', qr.submit - $.bind $('a[name=attach]', qr.el), 'click', qr.attach + $.bind $('#attach', qr.el), 'click', qr.attach $.bind $('img', qr.el), 'click', Recaptcha.reload $.bind $('#recaptcha_response_field', qr.el), 'keydown', Recaptcha.listener $.bind $('#recaptcha_response_field', qr.el), 'keydown', qr.captchaKeydown