Revert "Redirect native catalog to 4chan X catalog if 'Use 4chan X Catalog' is on. #247"

Backing this out until we support search queries in the URL.

This reverts commit d56799987695c2509ed9fe2ab63552fc029d1461.
This commit is contained in:
ccd0 2014-12-25 16:28:30 -08:00
parent 576ba0d934
commit 11f38e14f8

View File

@ -65,10 +65,6 @@ Main =
ImageCommon.addControls video
return
if Conf['JSON Navigation'] and Conf['Use 4chan X Catalog'] and g.VIEW is 'catalog'
location.replace "//boards.4chan.org/#{g.BOARD}#catalog"
return
if Conf['Normalize URL'] and g.VIEW is 'thread'
pathname = location.pathname.split '/'
if pathname[2] isnt 'thread' or pathname.length > 4