MM-2046 - Updating postHolder scroll
Этот коммит содержится в:
@@ -103,6 +103,7 @@ export default class PostList extends React.Component {
|
|||||||
if ($('#create_post').length > 0) {
|
if ($('#create_post').length > 0) {
|
||||||
var height = $(window).height() - $('#create_post').height() - $('#error_bar').outerHeight() - 50;
|
var height = $(window).height() - $('#create_post').height() - $('#error_bar').outerHeight() - 50;
|
||||||
postHolder.css('height', height + 'px');
|
postHolder.css('height', height + 'px');
|
||||||
|
postHolder.perfectScrollbar();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!this.scrolled) {
|
if (!this.scrolled) {
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user