mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-28 18:17:29 -05:00
7 lines
200 B
JavaScript
7 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')
|
|
});
|