From fc90b746c9ad91fdd03bb79a03c7d8f7e81f5744 Mon Sep 17 00:00:00 2001 From: Karina Kwiatek Date: Tue, 7 Mar 2023 19:14:57 +0100 Subject: [PATCH] Remove debug --- app/javascript/retrospring/features/answerbox/comment/new.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/javascript/retrospring/features/answerbox/comment/new.ts b/app/javascript/retrospring/features/answerbox/comment/new.ts index 4ecd14b2..cdadf221 100644 --- a/app/javascript/retrospring/features/answerbox/comment/new.ts +++ b/app/javascript/retrospring/features/answerbox/comment/new.ts @@ -16,8 +16,6 @@ export function commentCreateHandler(event: KeyboardEvent): boolean { const counter = document.querySelector(`#ab-comment-charcount-${id}`); const group = document.querySelector(`[name=ab-comment-new-group][data-a-id="${id}"]`); - console.debug("comment create", event.ctrlKey, event.metaKey, event.which); - if ((event.ctrlKey || event.metaKey) && event.which === 13) { event.preventDefault();