diff --git a/builds/4chan-X.user.js b/builds/4chan-X.user.js index b536b7d04..dd02d7251 100644 --- a/builds/4chan-X.user.js +++ b/builds/4chan-X.user.js @@ -12677,7 +12677,7 @@ delete g.THREADID; QR.link.textContent = 'Start a Thread'; if (Conf['Index Mode'] === 'catalog') { - return $.addClass(doc, 'catalog-mode'); + return Index.cb.toggleCatalogMode(); } }, thread: function() { diff --git a/builds/crx/script.js b/builds/crx/script.js index 467c6017e..30e9c9b88 100644 --- a/builds/crx/script.js +++ b/builds/crx/script.js @@ -12691,7 +12691,7 @@ delete g.THREADID; QR.link.textContent = 'Start a Thread'; if (Conf['Index Mode'] === 'catalog') { - return $.addClass(doc, 'catalog-mode'); + return Index.cb.toggleCatalogMode(); } }, thread: function() { diff --git a/src/General/Navigate.coffee b/src/General/Navigate.coffee index f16c973d0..410abf5e7 100644 --- a/src/General/Navigate.coffee +++ b/src/General/Navigate.coffee @@ -93,7 +93,7 @@ Navigate = index: -> delete g.THREADID QR.link.textContent = 'Start a Thread' - $.addClass doc, 'catalog-mode' if Conf['Index Mode'] is 'catalog' + Index.cb.toggleCatalogMode() if Conf['Index Mode'] is 'catalog' thread: -> QR.link.textContent = 'Reply to Thread'