Don't redirect to archive on 404'd mobile downscales.

This commit is contained in:
ccd0 2016-11-05 14:23:35 -07:00
parent 7e4288aa3a
commit 21a1c58c97

View File

@ -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', {