diff --git a/src/General/Index.coffee b/src/General/Index.coffee index a25cbd3c8..eb96d5094 100644 --- a/src/General/Index.coffee +++ b/src/General/Index.coffee @@ -220,11 +220,9 @@ Index = cb: toggleCatalogMode: -> if Conf['Index Mode'] is 'catalog' - $.addClass Index.root, 'catalog-mode' - $('#hidden-toggle', Index.navLinks).hidden = false + $.addClass doc, 'catalog-mode' else - $.rmClass Index.root, 'catalog-mode' - $('#hidden-toggle', Index.navLinks).hidden = true + $.rmClass doc, 'catalog-mode' toggleHiddenThreads: -> $('#hidden-toggle a', Index.navLinks).textContent = if Index.showHiddenThreads = !Index.showHiddenThreads 'Hide' diff --git a/src/General/css/style.css b/src/General/css/style.css index cd6728fb7..03a8b9b2f 100755 --- a/src/General/css/style.css +++ b/src/General/css/style.css @@ -471,7 +471,9 @@ hr + div.center:not(.ad-cnt):not(.topad):not(.middlead):not(.bottomad) { /* Index */ :root.index-loading .navLinks, :root.index-loading .board, -:root.index-loading .pagelist { +:root.index-loading .pagelist, +:root:not(.catalog-mode) #hidden-toggle, +:root:not(.catalog-mode) #index-size { display: none; } #index-search { diff --git a/src/General/html/Features/Index-navlinks.html b/src/General/html/Features/Index-navlinks.html index e1f921fe6..657978b5c 100644 --- a/src/General/html/Features/Index-navlinks.html +++ b/src/General/html/Features/Index-navlinks.html @@ -4,4 +4,4 @@ × - +