From 8d6c35481124d7e30bdb559f440c48b3e5eb4e0d Mon Sep 17 00:00:00 2001 From: Asaad Mahmood Date: Mon, 31 Aug 2015 19:33:39 +0500 Subject: Also updating the position of the bottom unread indicator --- web/react/components/sidebar.jsx | 1 - 1 file changed, 1 deletion(-) (limited to 'web/react') 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'); -- cgit v1.2.3-1-g7c22