mirror of
https://github.com/wassname/talk.git
synced 2026-07-18 12:40:13 +08:00
make sure reply box works
This commit is contained in:
@@ -77,8 +77,8 @@ class Embed extends Component {
|
||||
}
|
||||
}
|
||||
|
||||
setActiveReplyBox (reactKey) {
|
||||
if (!this.props.currentUser) {
|
||||
setActiveReplyBox = (reactKey) => {
|
||||
if (!this.props.auth.user) {
|
||||
const offset = document.getElementById(`c_${reactKey}`).getBoundingClientRect().top - 75;
|
||||
this.props.showSignInDialog(offset);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user