2021-09-08 15:00:24 +03:00
|
|
|
import getScrollParent from 'ghost-admin/utils/get-scroll-parent';
|
|
|
|
import {modifier} from 'ember-modifier';
|
|
|
|
|
|
|
|
export default modifier((element) => {
|
|
|
|
getScrollParent(element).scrollTop = 0;
|
2022-08-02 11:23:43 +03:00
|
|
|
}, {eager: false});
|