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.jsx7
1 files changed, 3 insertions, 4 deletions
diff --git a/web/react/components/sidebar_right.jsx b/web/react/components/sidebar_right.jsx
index 8334b345b..a39bceeb8 100644
--- a/web/react/components/sidebar_right.jsx
+++ b/web/react/components/sidebar_right.jsx
@@ -39,8 +39,7 @@ module.exports = React.createClass({
}
},
resize: function() {
- $(".post-list-holder-by-time").scrollTop(100000);
- $(".post-list-holder-by-time").perfectScrollbar('update');
+ // Scrolling Code Was Here
},
getInitialState: function() {
return getStateFromStores();
@@ -49,7 +48,7 @@ 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();
+ // Scrolling Code Was Here
return (
<div></div>
);
@@ -59,7 +58,7 @@ module.exports = React.createClass({
$('.sidebar--left').removeClass('move--right');
$('.sidebar--right').addClass('move--left');
$('.sidebar--right').prepend('<div class="sidebar__overlay"></div>');
- this.resize();
+ // Scrolling Code Was Here
setTimeout(function(){
$('.sidebar__overlay').fadeOut("200", function(){
$(this).remove();