diff --git a/4chan_x.user.js b/4chan_x.user.js
index 8818bef6c..5e87df49e 100644
--- a/4chan_x.user.js
+++ b/4chan_x.user.js
@@ -1258,7 +1258,7 @@
attach: function() {
var box, file, files;
files = $('#files', QR.qr);
- box = $.el('span', {
+ box = $.el('li', {
innerHTML: "
X"
});
file = $('input', box);
@@ -1371,7 +1371,7 @@
text = '';
}
tid || (tid = g.THREAD_ID || '');
- QR.qr = qr = ui.dialog('qr', 'top: 0; left: 0;', " X
");
+ QR.qr = qr = ui.dialog('qr', 'top: 0; left: 0;', " X
");
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]) : '';
@@ -3129,9 +3129,12 @@
width: 300px;\
white-space: nowrap;\
overflow: auto;\
+ margin: 0;\
+ padding: 0;\
}\
- #qr #files span {\
+ #qr #files li {\
position: relative;\
+ display: inline;\
}\
#qr #files a {\
position: absolute;\
diff --git a/script.coffee b/script.coffee
index 10eba1ddb..6c5132df8 100644
--- a/script.coffee
+++ b/script.coffee
@@ -972,7 +972,7 @@ QR =
attach: ->
#$('#autopost', QR.qr).checked = true
files = $ '#files', QR.qr
- box = $.el 'span',
+ box = $.el 'li',
innerHTML: "
X"
file = $ 'input', box
$.bind file, 'change', QR.change
@@ -1060,7 +1060,7 @@ QR =