diff --git a/4chan_x.js b/4chan_x.js
index 1e7e0939d..c16f579fe 100644
--- a/4chan_x.js
+++ b/4chan_x.js
@@ -1135,11 +1135,13 @@
}
},
dialog: function(link) {
- var MAX_FILE_SIZE, THREAD_ID, clone, dialog, el, html, name, spoiler;
+ var MAX_FILE_SIZE, THREAD_ID, clone, dialog, el, html, mail, name, pass, spoiler;
MAX_FILE_SIZE = $('input[name="MAX_FILE_SIZE"]').value;
THREAD_ID = g.THREAD_ID || link.pathname.split('/').pop();
name = $('input[name=name]').value;
- html = "
";
+ mail = $('input[name=email]').value;
+ pass = $('input[name=pwd]').value;
+ html = " ";
dialog = ui.dialog('qr', {
top: '0px',
left: '0px'
diff --git a/script.coffee b/script.coffee
index 26ee06243..a6ac999de 100644
--- a/script.coffee
+++ b/script.coffee
@@ -889,9 +889,11 @@ qr =
MAX_FILE_SIZE = $('input[name="MAX_FILE_SIZE"]').value
THREAD_ID = g.THREAD_ID or link.pathname.split('/').pop()
name = $('input[name=name]').value
+ mail = $('input[name=email]').value
+ pass = $('input[name=pwd]').value
html = "