From 39b4971621cee7a3e1b281b092f8a4192a697fb1 Mon Sep 17 00:00:00 2001 From: ccd0 Date: Sat, 18 Jul 2015 15:40:28 -0700 Subject: [PATCH] Don't hide our own stuff while the index is loading. --- src/General/Index.coffee | 6 +++--- src/General/css/style.css | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/General/Index.coffee b/src/General/Index.coffee index 97d21500a..875f4bf58 100644 --- a/src/General/Index.coffee +++ b/src/General/Index.coffee @@ -56,7 +56,7 @@ Index = subEntries: [repliesEntry, pinEntry, anchorEntry, refNavEntry] # Navigation links at top of index - @navLinks = $.el 'div', className: 'navLinks' + @navLinks = $.el 'div', className: 'navLinks json-index' $.extend @navLinks, <%= importHTML('Features/Index-navlinks') %> $('.cataloglink a', @navLinks).href = CatalogLinks.catalog() $('.archlistlink', @navLinks).hidden = true if g.BOARD.ID is 'b' @@ -84,11 +84,11 @@ Index = $.on @selectSize, 'change', @cb.size # Thread container - @root = $.el 'div', className: 'board' + @root = $.el 'div', className: 'board json-index' @cb.size() # Page list - @pagelist = $.el 'div', className: 'pagelist' + @pagelist = $.el 'div', className: 'pagelist json-index' $.extend @pagelist, <%= importHTML('Features/Index-pagelist') %> $('.cataloglink a', @pagelist).href = CatalogLinks.catalog() $.on @pagelist, 'click', @cb.pageNav diff --git a/src/General/css/style.css b/src/General/css/style.css index 4c0c788f1..1636f99f4 100755 --- a/src/General/css/style.css +++ b/src/General/css/style.css @@ -611,9 +611,9 @@ div[data-checked="false"] > .suboption-list { } /* Index */ -:root.index-loading .navLinks, -:root.index-loading .board, -:root.index-loading .pagelist, +:root.index-loading .navLinks:not(.json-index), +:root.index-loading .board:not(.json-index), +:root.index-loading .pagelist:not(.json-index), :root.infinite-mode .pagelist, :root.all-pages-mode .pagelist, :root.catalog-mode .pagelist,