From 6b5f1536fb8691135ed44c2b91c927a618c934fd Mon Sep 17 00:00:00 2001 From: Asli Aykan Date: Mon, 25 Nov 2024 11:05:05 +0100 Subject: [PATCH] refactor --- .../webapp/app/shared/metis/answer-post/answer-post.component.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/webapp/app/shared/metis/answer-post/answer-post.component.ts b/src/main/webapp/app/shared/metis/answer-post/answer-post.component.ts index 0b8e696e1ba4..12244ec7af39 100644 --- a/src/main/webapp/app/shared/metis/answer-post/answer-post.component.ts +++ b/src/main/webapp/app/shared/metis/answer-post/answer-post.component.ts @@ -107,6 +107,7 @@ export class AnswerPostComponent extends PostingDirective implements isPointerCursor = window.getComputedStyle(targetElement).cursor === 'pointer'; } catch (error) { console.error('Failed to compute style:', error); + isPointerCursor = true; } if (!isPointerCursor) {