mirror of
https://github.com/wassname/talk.git
synced 2026-07-17 11:33:39 +08:00
Remove obsolete offset and styling
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user