mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-15 11:34:24 +03:00
7a56ded8d0
Merged About and What's new? page.
7 lines
196 B
JavaScript
7 lines
196 B
JavaScript
import getScrollParent from 'ghost-admin/utils/get-scroll-parent';
|
|
import {modifier} from 'ember-modifier';
|
|
|
|
export default modifier((element) => {
|
|
getScrollParent(element).scrollTop = 0;
|
|
});
|