mirror of
https://github.com/discourse/discourse.git
synced 2024-12-01 19:15:04 +08:00
8 lines
200 B
JavaScript
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')
|
|
});
|