diff --git a/4chan_x.user.js b/4chan_x.user.js index 8e546d42a..4b1c84c81 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -1414,7 +1414,7 @@ QR.qr = qr = ui.dialog('qr', { top: '0', left: '0' - }, " X
Subject Name Email
120 Captchas
Derp
"); + }, "
X
Subject Name Email
120 Captchas
Derp
"); 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]) : ''; @@ -3476,16 +3476,14 @@ #qr #autohide, #qr .close {\ float: right;\ }\ - #qr .input input {\ + #qr .click input {\ width: 60px;\ - }\ - #qr input {\ display: none;\ }\ - #qr .input:hover input, #qr input:focus {\ + #qr .click span:hover input, #qr .click input:focus {\ display: inline;\ }\ - #qr .input:hover span, #qr .input input:focus + span {\ + #qr .click span:hover span, #qr .click input:focus + span {\ display: none;\ }\ #qr form {\ diff --git a/script.coffee b/script.coffee index dcd36dc6e..64379f5e2 100644 --- a/script.coffee +++ b/script.coffee @@ -1101,17 +1101,19 @@ QR =
- Subject - Name - Email + Subject + Name + Email
- - - - - +
@@ -2778,16 +2780,14 @@ main = #qr #autohide, #qr .close { float: right; } - #qr .input input { + #qr .click input { width: 60px; - } - #qr input { display: none; } - #qr .input:hover input, #qr input:focus { + #qr .click span:hover input, #qr .click input:focus { display: inline; } - #qr .input:hover span, #qr .input input:focus + span { + #qr .click span:hover span, #qr .click input:focus + span { display: none; } #qr form {