shave off a line

This commit is contained in:
James Campos 2011-05-16 01:15:42 -07:00
parent 0674d9aa9d
commit 2e42da665e
2 changed files with 3 additions and 5 deletions

View File

@ -1139,7 +1139,7 @@
}
},
dialog: function(link) {
var MAX_FILE_SIZE, THREAD_ID, challenge, dialog, el, html, mail, name, pass, spoiler, src;
var MAX_FILE_SIZE, THREAD_ID, challenge, dialog, html, mail, name, pass, spoiler, src;
MAX_FILE_SIZE = $('input[name="MAX_FILE_SIZE"]').value;
THREAD_ID = g.THREAD_ID || link.pathname.split('/').pop();
challenge = $('input[name=recaptcha_challenge_field]').value;
@ -1155,8 +1155,7 @@
$.bind($('input[name=name]', dialog), 'mousedown', function(e) {
return e.stopPropagation();
});
el = $('#autohide', dialog);
$.bind(el, 'click', qr.cb.autohide);
$.bind($('#autohide', dialog), 'click', qr.cb.autohide);
if ($('.postarea label')) {
spoiler = $.el('label', {
innerHTML: " [<input type=checkbox name=spoiler>Spoiler Image?]"

View File

@ -928,8 +928,7 @@ qr =
dialog = ui.dialog 'qr', top: '0px', left: '0px', html
$.bind $('input[name=name]', dialog), 'mousedown', (e) -> e.stopPropagation()
el = $ '#autohide', dialog
$.bind el, 'click', qr.cb.autohide
$.bind $('#autohide', dialog), 'click', qr.cb.autohide
if $ '.postarea label'
spoiler = $.el 'label',