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