summaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
authorAsaad Mahmood <asaad@spinpunch.com>2015-11-16 22:01:48 +0500
committerAsaad Mahmood <asaad@spinpunch.com>2015-11-16 22:01:48 +0500
commit1610a11f43c4b88126b73c04c248f11d08da232d (patch)
treed9a53cfa7c6a9249aca0cbf18b47dc16517c761c /web
parent5d5b327de9d78d7e11d59103fadf8b5bf9d14e73 (diff)
downloadchat-1610a11f43c4b88126b73c04c248f11d08da232d.tar.gz
chat-1610a11f43c4b88126b73c04c248f11d08da232d.tar.bz2
chat-1610a11f43c4b88126b73c04c248f11d08da232d.zip
Removing height variable
Diffstat (limited to 'web')
-rw-r--r--web/react/components/rhs_thread.jsx1
1 files changed, 0 insertions, 1 deletions
diff --git a/web/react/components/rhs_thread.jsx b/web/react/components/rhs_thread.jsx
index 31dc92f80..cc062c538 100644
--- a/web/react/components/rhs_thread.jsx
+++ b/web/react/components/rhs_thread.jsx
@@ -117,7 +117,6 @@ export default class RhsThread extends React.Component {
}
}
resize() {
- var height = this.state.windowHeight - $('#error_bar').outerHeight() - 100;
$('.post-right__scroll').scrollTop(100000);
if (this.state.windowWidth > 768) {
$('.post-right__scroll').perfectScrollbar();