From 3d492bf450a245aafbfb5b3cff320c1d45832b37 Mon Sep 17 00:00:00 2001
From: nickago <ngonella@calpoly.edu>
Date: Tue, 11 Aug 2015 10:28:30 -0700
Subject: Completely rehauled scrolling system, finished base implementation

---
 web/react/components/sidebar_right.jsx | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

(limited to 'web/react/components/sidebar_right.jsx')

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();
-- 
cgit v1.2.3-1-g7c22


From f614249dd3446cd7bdfc05cba606614509afab49 Mon Sep 17 00:00:00 2001
From: nickago <ngonella@calpoly.edu>
Date: Tue, 11 Aug 2015 10:40:40 -0700
Subject: Removed personal debugging code and notes

---
 web/react/components/sidebar_right.jsx | 5 -----
 1 file changed, 5 deletions(-)

(limited to 'web/react/components/sidebar_right.jsx')

diff --git a/web/react/components/sidebar_right.jsx b/web/react/components/sidebar_right.jsx
index a39bceeb8..7ceccb45c 100644
--- a/web/react/components/sidebar_right.jsx
+++ b/web/react/components/sidebar_right.jsx
@@ -38,9 +38,6 @@ module.exports = React.createClass({
             }
         }
     },
-    resize: function() {
-        // Scrolling Code Was Here
-    },
     getInitialState: function() {
         return getStateFromStores();
     },
@@ -48,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');
-            // Scrolling Code Was Here
             return (
                 <div></div>
             );
@@ -58,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>');
-        // Scrolling Code Was Here
         setTimeout(function(){
             $('.sidebar__overlay').fadeOut("200", function(){
                 $(this).remove();
-- 
cgit v1.2.3-1-g7c22

