mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-19 00:11:49 +03:00
e66bb4feac
refs10b48b1d6d
refs1531712d92
- the tour feature is no longer used so all associated code can be removed - removes `liquid-tether` dependency as it was only used by the tour throbbers/popovers
22 lines
671 B
JavaScript
22 lines
671 B
JavaScript
export default function () {
|
|
this.transition(
|
|
this.hasClass('fullscreen-modal-container'),
|
|
this.toValue(true),
|
|
this.use('fade', {duration: 150}),
|
|
this.reverse('fade', {duration: 150})
|
|
);
|
|
|
|
this.transition(
|
|
this.hasClass('fade-transition'),
|
|
this.use('crossFade', {duration: 100})
|
|
);
|
|
|
|
// TODO: Maybe animate with explode. gh-unsplash-window should ideally slide in from bottom to top of screen
|
|
// this.transition(
|
|
// this.hasClass('gh-unsplash-window'),
|
|
// this.toValue(true),
|
|
// this.use('toUp', {duration: 500}),
|
|
// this.reverse('toDown', {duration: 500})
|
|
// );
|
|
}
|