Remove obsolete offset and styling

This commit is contained in:
Chi Vinh Le
2017-04-21 00:45:00 +07:00
parent f3f1cc53fe
commit 6df2103da3
8 changed files with 13 additions and 27 deletions
@@ -19,8 +19,7 @@ class RespectButton extends Component {
// If the current user does not exist, trigger sign in dialog.
if (!me) {
const offset = document.getElementById(`c_${commentId}`).getBoundingClientRect().top - 75;
showSignInDialog(offset);
showSignInDialog();
return;
}