mirror of
https://github.com/discourse/discourse.git
synced 2024-11-29 04:18:24 +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')
|
|
});
|