Make the return button work on Catalog view.
This commit is contained in:
parent
a8baffa972
commit
a821a01fbe
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -116,7 +116,12 @@ Index =
|
|||||||
|
|
||||||
$.on d, 'scroll', Index.scroll
|
$.on d, 'scroll', Index.scroll
|
||||||
$.on @pagelist, 'click', @cb.pageNav
|
$.on @pagelist, 'click', @cb.pageNav
|
||||||
$.on $('#returnlink a', @navLinks), 'click', Navigate.navigate
|
$.on $('#returnlink a', @navLinks), 'click', (e) ->
|
||||||
|
if g.VIEW is 'index'
|
||||||
|
Index.setIndexMode Conf['Previous Index Mode']
|
||||||
|
e.preventDefault()
|
||||||
|
return
|
||||||
|
Navigate.navigate.call @, e
|
||||||
|
|
||||||
if g.VIEW is 'index'
|
if g.VIEW is 'index'
|
||||||
@update()
|
@update()
|
||||||
|
|||||||
@ -484,7 +484,7 @@ div.center:not(.ad-cnt) {
|
|||||||
:root.index-loading .pagelist {
|
:root.index-loading .pagelist {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
.index #returnlink {
|
.index:not(.catalog-mode) #returnlink {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
#index-search {
|
#index-search {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user