Skip to content

Commit

Permalink
fix: || -> &&
Browse files Browse the repository at this point in the history
  • Loading branch information
Enter-tainer committed Sep 28, 2024
1 parent 26549e6 commit 4349df5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/lib/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ const _selectOffsetParagraph = async ({
selectedOffset = el;
}

if (selectedOffset?.dataset.reviewHasComments || focusReply) {
if (selectedOffset?.dataset.reviewHasComments && focusReply) {
delete selectedOffset.dataset.reviewFocused;
selectedOffset.dataset.reviewSelected = "true";
await _openCommentsPanel();
Expand Down

0 comments on commit 4349df5

Please sign in to comment.