Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
asliayk committed Nov 25, 2024
1 parent 2a8e4bb commit 6b5f153
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ export class AnswerPostComponent extends PostingDirective<AnswerPost> implements
isPointerCursor = window.getComputedStyle(targetElement).cursor === 'pointer';
} catch (error) {
console.error('Failed to compute style:', error);
isPointerCursor = true;
}

if (!isPointerCursor) {
Expand Down

0 comments on commit 6b5f153

Please sign in to comment.