Return to the previous index mode that's not the catalog.

Conflicts:
	src/General/Index.coffee
This commit is contained in:
Mayhem 2014-02-07 22:40:32 +01:00 committed by ccd0
parent 26d00bf7ad
commit 295dabb756
2 changed files with 5 additions and 0 deletions

View File

@ -553,6 +553,7 @@ http://iqdb.org/?url=%TURL
Index:
'Index Mode': 'paged'
'Previous Index Mode': 'paged'
'Index Sort': 'bump'
'Show Replies': true
'Anchor Hidden Threads': true

View File

@ -233,6 +233,10 @@ Index =
Index.cb.toggleCatalogMode()
Index.togglePagelist()
Index.buildIndex()
mode = Conf['Index Mode']
if mode not in ['catalog', Conf['Previous Index Mode']]
Conf['Previous Index Mode'] = mode
$.set 'Previous Index Mode', mode
sort: ->
Index.sort()
Index.buildIndex()