From 5f4bc8c76bf23a13b72c882c4a166eea6127eebc Mon Sep 17 00:00:00 2001 From: Nicolas Stepien Date: Mon, 2 Jan 2012 00:50:41 +0100 Subject: [PATCH] Create a new thread or select a thread to reply to UI. --- 4chan_x.user.js | 24 +++++++++++++++++++----- script.coffee | 28 +++++++++++++++++++--------- 2 files changed, 38 insertions(+), 14 deletions(-) diff --git a/4chan_x.user.js b/4chan_x.user.js index 2a03c818f..6c5a446fc 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -1281,7 +1281,16 @@ return $.addClass(qr.el, 'dump'); }, dialog: function() { - var input, mimeTypes, name, _ref; + var input, mimeTypes, name, thread, threads, _i, _len, _ref, _ref2; + if (!g.REPLY) { + threads = ''; + _ref = $$('.op'); + for (_i = 0, _len = _ref.length; _i < _len; _i++) { + thread = _ref[_i]; + threads += "' + for thread in $$ '.op' + threads += "