Move .catalog-mode to doc.
Conflicts: html/General/Index-navlinks.html
This commit is contained in:
parent
3dc56057ab
commit
12d095b6c3
@ -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'
|
||||
|
||||
@ -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 {
|
||||
|
||||
@ -4,4 +4,4 @@
|
||||
<span class="brackets-wrap" id="index-last-refresh"><time title="Last index refresh">...</time></span>
|
||||
<input type="search" id="index-search" class="field" placeholder="Search">
|
||||
<a id="index-search-clear" href="javascript:;" title="Clear search">×</a>
|
||||
<span id="hidden-label" hidden> — <span id="hidden-count"></span> <span id="hidden-toggle" hidden>[<a href="javascript:;">Show</a>]</span></span>
|
||||
<span id="hidden-label" hidden> — <span id="hidden-count"></span> <span id="hidden-toggle">[<a href="javascript:;">Show</a>]</span></span>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user