mirror of
https://github.com/discourse/discourse.git
synced 2024-12-17 00:03:43 +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')
|
|
});
|