From 2504cedfee99e7cdb179de464bbb0a7e6e6e79fc Mon Sep 17 00:00:00 2001 From: Zixaphir Date: Sat, 8 Mar 2014 16:51:09 -0700 Subject: [PATCH] Catalog sizing when navigating. --- builds/4chan-X.user.js | 2 +- builds/crx/script.js | 2 +- src/General/Navigate.coffee | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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'