Merge branch 'master' into asset-name-fixes

This commit is contained in:
Wyatt Johnson
2017-03-01 16:42:37 -07:00
committed by GitHub
+2 -2
View File
@@ -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 {