mirror of
https://github.com/flarum/core.git
synced 2025-08-01 22:20:21 +02:00
Remove the go to top button
It’s not particularly useful when there are fixed elements all over the page (header, sidebar)
This commit is contained in:
@@ -3,7 +3,6 @@ import Ember from 'ember';
|
||||
import HasItemLists from 'flarum/mixins/has-item-lists';
|
||||
import SearchInput from 'flarum/components/ui/search-input';
|
||||
import UserDropdown from 'flarum/components/application/user-dropdown';
|
||||
import GoToTop from 'flarum/components/application/go-to-top';
|
||||
import ForumStatistic from 'flarum/components/application/forum-statistic';
|
||||
import PoweredBy from 'flarum/components/application/powered-by';
|
||||
|
||||
@@ -81,8 +80,6 @@ export default Ember.View.extend(HasItemLists, {
|
||||
},
|
||||
|
||||
populateFooterPrimary: function(items) {
|
||||
items.pushObjectWithTag(GoToTop.create(), 'top');
|
||||
|
||||
var addStatistic = function(label, number) {
|
||||
items.pushObjectWithTag(ForumStatistic.create({
|
||||
label: label,
|
||||
|
Reference in New Issue
Block a user