From 21a1c58c97affd36cb7036b146a997f16764b3a0 Mon Sep 17 00:00:00 2001 From: ccd0 Date: Sat, 5 Nov 2016 14:23:35 -0700 Subject: [PATCH] Don't redirect to archive on 404'd mobile downscales. --- src/main/Main.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/Main.coffee b/src/main/Main.coffee index 125fd906d..b938e3df4 100644 --- a/src/main/Main.coffee +++ b/src/main/Main.coffee @@ -130,7 +130,7 @@ Main = PostSuccessful.init() return when 'i.4cdn.org', 'is.4chan.org' - return unless pathname[2] and not /s\.jpg$/.test(pathname[2]) + return unless pathname[2] and not /[sm]\.jpg$/.test(pathname[2]) $.asap (-> d.readyState isnt 'loading'), -> if Conf['404 Redirect'] and d.title in ['4chan - Temporarily Offline', '4chan - 404 Not Found'] Redirect.navigate 'file', {