Merge branch 'master' into move-config-around

This commit is contained in:
Kim Gardner
2017-03-01 18:39:09 -05: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 {