mirror of
https://github.com/flarum/core.git
synced 2025-02-25 19:53:48 +01:00
Fix composer only sliding down some of the way
This commit is contained in:
parent
6cf1dbe648
commit
ea510b5ea0
@ -17,7 +17,7 @@ class Composer extends Component {
|
||||
// (which is set when the resizing handle is dragged), and the composer's
|
||||
// current state.
|
||||
this.computedHeight = computed('height', 'position', function(height, position) {
|
||||
if (position === Composer.PositionEnum.MINIMIZED || position === Composer.PositionEnum.HIDDEN) {
|
||||
if (position === Composer.PositionEnum.MINIMIZED) {
|
||||
return '';
|
||||
} else if (position === Composer.PositionEnum.FULLSCREEN) {
|
||||
return $(window).height();
|
||||
|
Loading…
x
Reference in New Issue
Block a user