summaryrefslogtreecommitdiffstats
path: root/web/react/components/sidebar_right.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'web/react/components/sidebar_right.jsx')
-rw-r--r--web/react/components/sidebar_right.jsx6
1 files changed, 0 insertions, 6 deletions
diff --git a/web/react/components/sidebar_right.jsx b/web/react/components/sidebar_right.jsx
index 8334b345b..7ceccb45c 100644
--- a/web/react/components/sidebar_right.jsx
+++ b/web/react/components/sidebar_right.jsx
@@ -38,10 +38,6 @@ module.exports = React.createClass({
}
}
},
- resize: function() {
- $(".post-list-holder-by-time").scrollTop(100000);
- $(".post-list-holder-by-time").perfectScrollbar('update');
- },
getInitialState: function() {
return getStateFromStores();
},
@@ -49,7 +45,6 @@ module.exports = React.createClass({
if (! (this.state.search_visible || this.state.post_right_visible)) {
$('.inner__wrap').removeClass('move--left').removeClass('move--right');
$('.sidebar--right').removeClass('move--left');
- this.resize();
return (
<div></div>
);
@@ -59,7 +54,6 @@ module.exports = React.createClass({
$('.sidebar--left').removeClass('move--right');
$('.sidebar--right').addClass('move--left');
$('.sidebar--right').prepend('<div class="sidebar__overlay"></div>');
- this.resize();
setTimeout(function(){
$('.sidebar__overlay').fadeOut("200", function(){
$(this).remove();