diff --git a/4chan_x.user.js b/4chan_x.user.js index 30c9c3cc5..51d7e3497 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -1363,10 +1363,7 @@ text = ''; } tid || (tid = g.THREAD_ID || ''); - QR.qr = qr = ui.dialog('qr', { - top: '0', - left: '0' - }, " X
120 Captchas
" + (g.REPLY ? "" : '') + " " + QR.spoiler + "
"); + QR.qr = qr = ui.dialog('qr', 'top: 0; left: 0;', " X
120 Captchas
" + (g.REPLY ? "" : '') + " " + QR.spoiler + "
"); c = d.cookie; $('[name=name]', qr).value = (m = c.match(/4chan_name=([^;]+)/)) ? decodeURIComponent(m[1]) : ''; $('[name=email]', qr).value = (m = c.match(/4chan_email=([^;]+)/)) ? decodeURIComponent(m[1]) : ''; diff --git a/script.coffee b/script.coffee index 0cd0b6f91..cd042876d 100644 --- a/script.coffee +++ b/script.coffee @@ -1041,7 +1041,7 @@ QR = QR.submit() if $('#autopost', QR.qr).checked dialog: (text='', tid) -> tid or= g.THREAD_ID or '' - QR.qr = qr = ui.dialog 'qr', top: '0', left: '0', " + QR.qr = qr = ui.dialog 'qr', 'top: 0; left: 0;', " X