diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/assets/javascripts/components/components/status_list.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/components/components/status_list.jsx b/app/assets/javascripts/components/components/status_list.jsx index 633f06816..58aa94cc0 100644 --- a/app/assets/javascripts/components/components/status_list.jsx +++ b/app/assets/javascripts/components/components/status_list.jsx @@ -46,7 +46,7 @@ const StatusList = React.createClass({ }, componentDidUpdate (prevProps) { - if (prevProps.statusIds.size < this.props.statusIds.size && this._oldScrollPosition) { + if (prevProps.statusIds.size < this.props.statusIds.size && prevProps.statusIds.first() !== this.props.statusIds.first() && this._oldScrollPosition) { const node = ReactDOM.findDOMNode(this); if (node.scrollTop > 0) { |