diff --git a/4chan_x.user.js b/4chan_x.user.js index ee9dc92d7..b7b3e8e0c 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -1820,6 +1820,9 @@ if (Conf['Thread Watcher'] && Conf['Auto Watch Reply'] && threadID !== 'new') { Watcher.watch(threadID); } + if (!QR.cooldown.auto && $.x('ancestor::div[@id="qr"]', d.activeElement)) { + d.activeElement.blur(); + } QR.status({ progress: '...' }); diff --git a/script.coffee b/script.coffee index 49687df6d..075276046 100644 --- a/script.coffee +++ b/script.coffee @@ -1520,6 +1520,9 @@ QR = QR.hide() if Conf['Thread Watcher'] and Conf['Auto Watch Reply'] and threadID isnt 'new' Watcher.watch threadID + if not QR.cooldown.auto and $.x 'ancestor::div[@id="qr"]', d.activeElement + # Unfocus the focused element if it is one within the QR and we're not auto-posting. + d.activeElement.blur() # Starting to upload might take some time. # Provide some feedback that we're starting to submit.