From 91772a411051e0508d751a575cce08a51b01cfdf Mon Sep 17 00:00:00 2001 From: Nicolas Stepien Date: Sat, 7 Jan 2012 18:08:11 +0100 Subject: [PATCH] There's not custom settings in images.4chan.org. Remove outdated comment. --- 4chan_x.user.js | 8 +++----- script.coffee | 4 +--- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/4chan_x.user.js b/4chan_x.user.js index b259b2290..35824bf30 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -3088,11 +3088,9 @@ return; } if (location.hostname === 'images.4chan.org') { - if (conf['404 Redirect']) { - $.onLoad(function() { - if (d.title === '4chan - 404') return redirect.init(); - }); - } + $.onLoad(function() { + if (d.title === '4chan - 404') return redirect.init(); + }); return; } $.onLoad(options.init); diff --git a/script.coffee b/script.coffee index 7b1f55e89..5730551de 100644 --- a/script.coffee +++ b/script.coffee @@ -2229,7 +2229,6 @@ Favicon = redirect = init: -> url = - # waiting for https://github.com/FoOlRulez/FoOlFuuka/issues/11 if location.hostname is 'images.4chan.org' redirect.image g.BOARD, location.pathname.split('/')[3] else if /^\d+$/.test g.THREAD_ID @@ -2394,8 +2393,7 @@ Main = $.onLoad qr.sys return if location.hostname is 'images.4chan.org' - if conf['404 Redirect'] - $.onLoad -> redirect.init() if d.title is '4chan - 404' + $.onLoad -> redirect.init() if d.title is '4chan - 404' return $.onLoad options.init