From a58b5c76702c8af31285259b6c3782aede56f4de Mon Sep 17 00:00:00 2001 From: Nicolas Stepien Date: Sat, 16 Feb 2013 00:24:59 +0100 Subject: [PATCH] oops --- 4chan_x.user.js | 4 ++-- src/features.coffee | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/4chan_x.user.js b/4chan_x.user.js index 76b04410a..0ad8914c3 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -1135,10 +1135,10 @@ el: link, order: 111, open: function() { - return !Conf['Enable 4chan\'s extension']; + return Conf['Enable 4chan\'s extension']; } }); - if (!Conf['Enable 4chan\'s extension']) { + if (Conf['Enable 4chan\'s extension']) { return; } settings = JSON.parse(localStorage.getItem('4chan-settings')) || {}; diff --git a/src/features.coffee b/src/features.coffee index f599aac78..6775ee375 100644 --- a/src/features.coffee +++ b/src/features.coffee @@ -137,9 +137,9 @@ Settings = type: 'header' el: link order: 111 - open: -> !Conf['Enable 4chan\'s extension'] + open: -> Conf['Enable 4chan\'s extension'] - return unless Conf['Enable 4chan\'s extension'] + return if Conf['Enable 4chan\'s extension'] settings = JSON.parse(localStorage.getItem '4chan-settings') or {} return if settings.disableAll settings.disableAll = true