diff --git a/4chan_x.user.js b/4chan_x.user.js index 2047a403e..14245391a 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -3576,6 +3576,10 @@ return; } $.ready(options.init); + if (conf['Quick Reply'] && conf['Hide Original Post Form']) { + Main.css += 'form[name=post] { display: none; }'; + } + Main.addStyle(); now = Date.now(); if (conf['Check for Updates'] && $.get('lastUpdate', 0) < now - 6 * HOUR) { $.ready(function() { @@ -3619,10 +3623,6 @@ quoteIndicators.init(); } if (conf['Fix XXX\'d Post Numbers']) unxify.init(); - if (conf['Quick Reply'] && conf['Hide Original Post Form']) { - Main.css += 'form[name=post] { display: none; }'; - } - Main.addStyle(); return $.ready(Main.ready); }, ready: function() { diff --git a/changelog b/changelog index e9809f967..85068b94a 100644 --- a/changelog +++ b/changelog @@ -6,7 +6,7 @@ master - Hightlight, or hide. New filter group: Image dimensions. Fix posting on Safari. - Fix rare case where the QR would not accept images. + Fix rare case where the QR would not accept certain image types. 2.26.4 - Mayhem diff --git a/script.coffee b/script.coffee index e2f0b7d1e..693b01ba7 100644 --- a/script.coffee +++ b/script.coffee @@ -2848,6 +2848,11 @@ Main = $.ready options.init + if conf['Quick Reply'] and conf['Hide Original Post Form'] + Main.css += 'form[name=post] { display: none; }' + + Main.addStyle() + now = Date.now() if conf['Check for Updates'] and $.get('lastUpdate', 0) < now - 6*HOUR $.ready -> $.add d.head, $.el 'script', src: 'https://raw.github.com/mayhemydg/4chan-x/master/latest.js' @@ -2918,11 +2923,6 @@ Main = if conf['Fix XXX\'d Post Numbers'] unxify.init() - if conf['Quick Reply'] and conf['Hide Original Post Form'] - Main.css += 'form[name=post] { display: none; }' - - Main.addStyle() - $.ready Main.ready ready: ->