diff --git a/src/General/Index.coffee b/src/General/Index.coffee index 32ee38462..be57ed572 100644 --- a/src/General/Index.coffee +++ b/src/General/Index.coffee @@ -30,9 +30,13 @@ Index = { el: $.el 'label', <%= html(' All threads') %> } { el: $.el 'label', <%= html(' Catalog') %> } ] + open: -> + for label in @subEntries + input = label.el.firstChild + input.checked = Conf['Index Mode'] is input.value + true for label in modeEntry.subEntries input = label.el.firstChild - input.checked = Conf['Index Mode'] is input.value $.on input, 'change', $.cb.value $.on input, 'change', @cb.mode