From b14178653218406f64859424b3c4ef55344cb89f Mon Sep 17 00:00:00 2001 From: James Campos Date: Sat, 3 Sep 2011 14:13:03 -0700 Subject: [PATCH] class=inputtext --- 4chan_x.user.js | 2 +- script.coffee | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) 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 -_-;