mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-30 02:56:26 -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')
|
|
});
|