summaryrefslogtreecommitdiffstats
path: root/web/react
diff options
context:
space:
mode:
authorAsaad Mahmood <Unknowngi@live.com>2015-08-31 19:33:39 +0500
committerChristopher Speller <crspeller@gmail.com>2015-09-01 08:43:11 -0400
commit8d6c35481124d7e30bdb559f440c48b3e5eb4e0d (patch)
treeae7062cb2ec1faf005b306139afa0614215f4788 /web/react
parent0141c351ca45039d56a892d8b25026252aabd06c (diff)
downloadchat-8d6c35481124d7e30bdb559f440c48b3e5eb4e0d.tar.gz
chat-8d6c35481124d7e30bdb559f440c48b3e5eb4e0d.tar.bz2
chat-8d6c35481124d7e30bdb559f440c48b3e5eb4e0d.zip
Also updating the position of the bottom unread indicator
Diffstat (limited to 'web/react')
-rw-r--r--web/react/components/sidebar.jsx1
1 files changed, 0 insertions, 1 deletions
diff --git a/web/react/components/sidebar.jsx b/web/react/components/sidebar.jsx
index 8dd192893..5b74165f3 100644
--- a/web/react/components/sidebar.jsx
+++ b/web/react/components/sidebar.jsx
@@ -278,7 +278,6 @@ module.exports = React.createClass({
var lastUnreadElement = $(this.refs[this.lastUnreadChannel].getDOMNode());
if (lastUnreadElement.position().top > container.height()) {
- $(this.refs.bottomUnreadIndicator.getDOMNode()).css('bottom', '0');
$(this.refs.bottomUnreadIndicator.getDOMNode()).css('display', 'initial');
} else {
$(this.refs.bottomUnreadIndicator.getDOMNode()).css('display', 'none');