discourse/app/assets/javascripts/admin/views/admin-badges-show.js.es6

8 lines
200 B
JavaScript

import ScrollTop from 'discourse/mixins/scroll-top';
export default Ember.View.extend(ScrollTop, {
_scrollOnModelChange: function() {
this._scrollTop();
}.observes('controller.model.id')
});