FIX: Don't reset scrolling when subcategory_list is enabled
This commit is contained in:
parent
0a35b20933
commit
20cd5b8c0b
|
@ -1,7 +1,6 @@
|
||||||
import UrlRefresh from 'discourse/mixins/url-refresh';
|
import UrlRefresh from 'discourse/mixins/url-refresh';
|
||||||
import ScrollTop from 'discourse/mixins/scroll-top';
|
|
||||||
|
|
||||||
export default Discourse.View.extend(UrlRefresh, ScrollTop, {
|
export default Discourse.View.extend(UrlRefresh, {
|
||||||
_addBodyClass: function() {
|
_addBodyClass: function() {
|
||||||
$('body').addClass('categories-list');
|
$('body').addClass('categories-list');
|
||||||
}.on('didInsertElement'),
|
}.on('didInsertElement'),
|
||||||
|
|
Loading…
Reference in New Issue