MM-1444 - Fixing text selection issue
Этот коммит содержится в:
@@ -282,7 +282,6 @@ module.exports = React.createClass({
|
|||||||
componentDidMount: function() {
|
componentDidMount: function() {
|
||||||
PostStore.addSelectedPostChangeListener(this._onChange);
|
PostStore.addSelectedPostChangeListener(this._onChange);
|
||||||
PostStore.addChangeListener(this._onChangeAll);
|
PostStore.addChangeListener(this._onChangeAll);
|
||||||
$(".post-right__scroll").perfectScrollbar();
|
|
||||||
this.resize();
|
this.resize();
|
||||||
var self = this;
|
var self = this;
|
||||||
$(window).resize(function(){
|
$(window).resize(function(){
|
||||||
@@ -341,7 +340,7 @@ module.exports = React.createClass({
|
|||||||
var height = $(window).height() - $('#error_bar').outerHeight() - 100;
|
var height = $(window).height() - $('#error_bar').outerHeight() - 100;
|
||||||
$(".post-right__scroll").css("height", height + "px");
|
$(".post-right__scroll").css("height", height + "px");
|
||||||
$(".post-right__scroll").scrollTop(100000);
|
$(".post-right__scroll").scrollTop(100000);
|
||||||
$(".post-right__scroll").perfectScrollbar('update');
|
$(".post-right__scroll").perfectScrollbar();
|
||||||
},
|
},
|
||||||
render: function() {
|
render: function() {
|
||||||
|
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user