From 7e6f3ff09e9de7729cad2d3ba5fe9790f7e0303a Mon Sep 17 00:00:00 2001 From: Nicolas Stepien Date: Mon, 2 Jan 2012 01:17:47 +0100 Subject: [PATCH] Fixes, moved elements in the draggable area. --- 4chan_x.user.js | 4 ++-- script.coffee | 12 +++++++++--- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/4chan_x.user.js b/4chan_x.user.js index 6c5a446fc..d1ee96203 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -1287,7 +1287,7 @@ _ref = $$('.op'); for (_i = 0, _len = _ref.length; _i < _len; _i++) { thread = _ref[_i]; - threads += ""; } threads = ""; } @@ -1302,7 +1302,7 @@ } }); qr.mimeTypes = mimeTypes.split(', '); - qr.el = ui.dialog('qr', 'top:0;right:0;', "
Quick Reply " + threads + "
"); + qr.el = ui.dialog('qr', 'top:0;right:0;', "
Quick Reply " + (g.REPLY ? '' : threads) + "
"); if (!g.REPLY) { $.on($('select', qr.el), 'mousedown', function(e) { return e.stopPropagation(); diff --git a/script.coffee b/script.coffee index db9294b23..02c3e2589 100644 --- a/script.coffee +++ b/script.coffee @@ -948,7 +948,7 @@ qr = unless g.REPLY threads = '' for thread in $$ '.op' - threads += "" threads = "" # chose only supported files mimeTypes = $('.rules').textContent.toLowerCase().match(/: (.+)/)[1].replace /\w+/g, (type) -> @@ -968,10 +968,16 @@ qr = #qr > .move { min-width: 300px; overflow: hidden; + box-sizing: border-box; + padding: 0 2px; } #qr > .move > span { float: right; } +#autohide, #qr select, #dump, .captcha { + cursor: pointer; +} +#qr select, #qr > form { margin: 0; } @@ -1043,8 +1049,8 @@ textarea.field {
- Quick Reply #{threads} - + Quick Reply + #{if g.REPLY then '' else threads}