From 33cfbe82208ebf46216ef92bfe8b87df0a035c31 Mon Sep 17 00:00:00 2001 From: Nicolas Stepien Date: Fri, 9 Dec 2011 18:44:24 +0100 Subject: [PATCH] Default the QR to the right. --- 4chan_x.user.js | 2 +- script.coffee | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/4chan_x.user.js b/4chan_x.user.js index 9f70ae786..e6fba4a2f 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -1577,7 +1577,7 @@ THREAD_ID = g.THREAD_ID || $.x('ancestor::div[@class="thread"]/div', link).id; qr.challenge = $('#recaptcha_challenge_field').value; html = " X
Quick Reply
" + qr.spoiler + "
" + ($.get('captchas', []).length) + " captchas
attach another file
"; - qr.el = ui.dialog('qr', 'top: 0; left: 0;', html); + qr.el = ui.dialog('qr', 'top: 0; right: 0;', html); c = d.cookie; $('input[name=name]', qr.el).value = (m = c.match(/4chan_name=([^;]+)/)) ? decodeURIComponent(m[1]) : ''; $('input[name=email]', qr.el).value = (m = c.match(/4chan_email=([^;]+)/)) ? decodeURIComponent(m[1]) : ''; diff --git a/script.coffee b/script.coffee index 5c63c4247..042cc7c7b 100644 --- a/script.coffee +++ b/script.coffee @@ -1213,7 +1213,7 @@ qr = " - qr.el = ui.dialog 'qr', 'top: 0; left: 0;', html + qr.el = ui.dialog 'qr', 'top: 0; right: 0;', html c = d.cookie $('input[name=name]', qr.el).value =