From 5d3daaf72ea3113b3ba42979e43a016ee3b8c721 Mon Sep 17 00:00:00 2001 From: James Campos Date: Sun, 5 Feb 2012 01:49:28 -0800 Subject: [PATCH] work with new setting --- 4chan_x.user.js | 4 +++- script.coffee | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/4chan_x.user.js b/4chan_x.user.js index 8b9bd0056..ac68029b1 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -3494,7 +3494,9 @@ if (conf['Quote Backlinks']) quoteBacklink.init(); if (conf['Indicate OP quote']) quoteOP.init(); if (conf['Indicate Cross-thread Quotes']) quoteDR.init(); - if (conf['Quick Reply']) Main.css += 'form[name=post] { display: none; }'; + if (conf['Quick Reply'] && conf['Hide Original Post Form']) { + Main.css += 'form[name=post] { display: none; }'; + } Main.addStyle(); return $.ready(Main.ready); }, diff --git a/script.coffee b/script.coffee index 45b5d1d82..a356822b3 100644 --- a/script.coffee +++ b/script.coffee @@ -2730,7 +2730,7 @@ Main = if conf['Indicate Cross-thread Quotes'] quoteDR.init() - if conf['Quick Reply'] + if conf['Quick Reply'] and conf['Hide Original Post Form'] Main.css += 'form[name=post] { display: none; }' Main.addStyle()