mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-16 21:24:59 +08:00
formatting
This commit is contained in:
parent
881353037e
commit
5d45d5dfac
@ -681,6 +681,7 @@ module.exports = React.createClass({
|
|||||||
_collectGeminiScroll: function(gemScroll) {
|
_collectGeminiScroll: function(gemScroll) {
|
||||||
this._gemScroll = gemScroll;
|
this._gemScroll = gemScroll;
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set the current height as the min height for the message list
|
* Set the current height as the min height for the message list
|
||||||
* so the timeline cannot shrink. This is used to avoid
|
* so the timeline cannot shrink. This is used to avoid
|
||||||
@ -693,6 +694,7 @@ module.exports = React.createClass({
|
|||||||
messageList.style.minHeight = `${currentHeight}px`;
|
messageList.style.minHeight = `${currentHeight}px`;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Clear the previously set min height
|
* Clear the previously set min height
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user