mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-28 21:33:24 +03:00
2844c896a8
no issue
- remove `liquid-tether` dependency
- add `liquid-wormhole` dependency (previously a dependency of liquid-tether)
- refactor `gh-fullscreen-modal` to simplify and use `liquid-wormhole` directly instead of `liquid-tether` as we don't need the positioning ability that `liquid-tether` provides
- fixes broken View/Component tree in Ember Inspector 🎉
19 lines
483 B
JavaScript
19 lines
483 B
JavaScript
export default function () {
|
|
this.transition(
|
|
this.hasClass('fullscreen-modal-container'),
|
|
this.toValue(true),
|
|
this.use('fade', {duration: 150}),
|
|
this.reverse('explode', {
|
|
pick: '.fullscreen-modal',
|
|
use: ['fade', {duration: 80}]
|
|
}, {
|
|
use: ['fade', {duration: 150}]
|
|
})
|
|
);
|
|
|
|
this.transition(
|
|
this.hasClass('fade-transition'),
|
|
this.use('crossFade', {duration: 100})
|
|
);
|
|
}
|