Fix Index Sort state info being lost on refresh.

This commit is contained in:
ccd0 2016-03-12 19:01:15 -08:00
parent 6296393365
commit e2636be9e8

View File

@ -12,6 +12,8 @@ Index =
@search = history.state?.searched or ''
if history.state?.mode
Conf['Index Mode'] = history.state?.mode
if history.state?.sort
Conf['Index Sort'] = history.state?.sort
@currentPage = @getCurrentPage()
@processHash()