mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-14 14:21:23 +00:00
fix-scroll-bug
This commit is contained in:
@@ -290,7 +290,7 @@ class CommentItem extends React.Component {
|
||||
</Dropdown>
|
||||
}
|
||||
</div>
|
||||
{ this.props.item.newIndex ?
|
||||
{ (this.props.item.newIndex >= -1 && this.props.item.oldIndex >= -1)?
|
||||
<div className="seafile-comment-content" onClick={this.scrollToQuote}
|
||||
dangerouslySetInnerHTML={{ __html: this.state.html }}></div>
|
||||
:
|
||||
|
Reference in New Issue
Block a user