diff --git a/4chan_x.user.js b/4chan_x.user.js index edbf6d546..a50fd0e19 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -1367,7 +1367,7 @@ QR.qr = qr = ui.dialog('qr', { top: '0', left: '0' - }, " X
Quick Reply
" + QR.spoiler + "
" + ($.get('captchas', []).length) + " captchas
attach another file
"); + }, " X
Quick Reply
" + QR.spoiler + "
" + ($.get('captchas', []).length) + " captchas
attach another file
"); 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 1caae9e68..1eb0a6aac 100644 --- a/script.coffee +++ b/script.coffee @@ -1059,21 +1059,21 @@ QR = dialog: (text='', tid) -> QR.qr = qr = ui.dialog 'qr', top: '0', left: '0', " X -
Quick Reply
+
Quick Reply
-
#{QR.spoiler}
-
-
+
#{QR.spoiler}
+
+
-
#{$.get('captchas', []).length} captchas
+
#{$.get('captchas', []).length} captchas
-
attach another file
+
attach another file
" #XXX use dom methods to set values instead of injecting raw user input into your html -_-;