diff --git a/4chan_x.js b/4chan_x.js
index 865eca94d..16f8dd746 100644
--- a/4chan_x.js
+++ b/4chan_x.js
@@ -1142,16 +1142,16 @@
},
dialog: function(link) {
var clone, dialog, el, html, resto, script, xpath, _i, _len, _ref;
- html = "
";
+ html = " ";
dialog = ui.dialog('qr', {
top: '0px',
left: '0px'
}, html);
- el = $('input[title=autohide]', dialog);
+ el = $('#autohide', dialog);
$.bind(el, 'click', qr.cb.autohide);
clone = $('#recaptcha_widget_div').cloneNode(true);
$.append($('#qr_captcha', dialog), clone);
- $('input[name=recaptcha_response_field]', clone).placeholder = 'verification';
+ $('input[name=recaptcha_response_field]', clone).placeholder = 'Verification';
$.append(d.body, dialog);
return;
clone = $('form[name=post]').cloneNode(true);
diff --git a/script.coffee b/script.coffee
index 78e559597..3ffdfbaa6 100644
--- a/script.coffee
+++ b/script.coffee
@@ -876,24 +876,25 @@ qr =
dialog: (link) ->
html = "
-
+
"
dialog = ui.dialog 'qr', top: '0px', left: '0px', html
- el = $ 'input[title=autohide]', dialog
+ el = $ '#autohide', dialog
$.bind el, 'click', qr.cb.autohide
clone = $('#recaptcha_widget_div').cloneNode(true)
$.append $('#qr_captcha', dialog), clone
- $('input[name=recaptcha_response_field]', clone).placeholder = 'verification'
+ $('input[name=recaptcha_response_field]', clone).placeholder = 'Verification'
$.append d.body, dialog
return