diff --git a/app/assets/javascripts/discourse/views/list/discovery_categories_view.js b/app/assets/javascripts/discourse/views/list/discovery_categories_view.js index 98e2842b3e8..bde18682645 100644 --- a/app/assets/javascripts/discourse/views/list/discovery_categories_view.js +++ b/app/assets/javascripts/discourse/views/list/discovery_categories_view.js @@ -24,6 +24,12 @@ Discourse.DiscoveryCategoriesView = Discourse.View.extend({ }); }, + _scrollTop: function() { + Em.run.schedule('afterRender', function() { + $(document).scrollTop(0); + }); + }.on('didInsertElement'), + disableOrdering: function(){ this.rows().sortable("destroy").off('sortupdate'); },