From 43bdf70d893bf28d9d5a6f44ab1bd45897022cb4 Mon Sep 17 00:00:00 2001 From: Nicolas Stepien Date: Sun, 15 Jan 2012 14:55:21 +0100 Subject: [PATCH] Fix 4chan X in locked threads. --- 4chan_x.user.js | 2 +- changelog | 1 + script.coffee | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/4chan_x.user.js b/4chan_x.user.js index 7b8feb363..23e52a9da 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -3154,7 +3154,7 @@ if (conf['Auto Noko'] && canPost) form.action += '?noko'; if (conf['Cooldown'] && canPost) cooldown.init(); if (conf['Image Expansion']) imgExpand.init(); - if (conf['Quick Reply']) qr.init(); + if (conf['Quick Reply'] && canPost) qr.init(); if (conf['Thread Watcher']) watcher.init(); if (conf['Keybinds']) keybinds.init(); if (g.REPLY) { diff --git a/changelog b/changelog index 264276ac9..b595d0a79 100644 --- a/changelog +++ b/changelog @@ -1,6 +1,7 @@ master - mayhem Set image limit in Thread Stats to 251 for /a/ and /v/, default to 151. + Fix 4chan X in locked threads. 2.24.2 - mayhem diff --git a/script.coffee b/script.coffee index c65a93b6e..4498994e4 100644 --- a/script.coffee +++ b/script.coffee @@ -2498,7 +2498,7 @@ Main = if conf['Image Expansion'] imgExpand.init() - if conf['Quick Reply'] + if conf['Quick Reply'] and canPost qr.init() if conf['Thread Watcher']