From 8c9c7f147cf712e83db4cb34c8be65f3b2aecb89 Mon Sep 17 00:00:00 2001 From: nevermoregb Date: Mon, 17 Mar 2025 11:24:36 +0900 Subject: [PATCH] =?UTF-8?q?=EB=8C=93=EA=B8=80=20=EC=88=98=EC=A0=95?= =?UTF-8?q?=EC=8B=9C=20=EA=B2=8C=EC=8B=9C=EA=B8=80=20=EC=88=98=EC=A0=95=20?= =?UTF-8?q?=EB=B9=84=EB=B0=80=EB=B2=88=ED=98=B8=20=EC=9E=85=EB=A0=A5?= =?UTF-8?q?=EC=B0=BD=20=EB=85=B8=EC=B6=9C=20=EC=95=88=EB=90=98=EA=B2=8C=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/board/BoardView.vue | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/views/board/BoardView.vue b/src/views/board/BoardView.vue index 4eed1f8..707ac3a 100644 --- a/src/views/board/BoardView.vue +++ b/src/views/board/BoardView.vue @@ -658,9 +658,7 @@ // 수정 if (lastCommentClickedButton.value === 'edit') { if (targetComment) { - // 다른 모든 댓글의 수정 창 닫기 - closeAllEditTextareas(); - + closeAllEditTextareas(); // 다른 모든 댓글의 수정 창 닫기 targetComment.isEditTextarea = true; passwordCommentAlert.value = ''; currentPasswordCommentId.value = null; @@ -755,6 +753,7 @@ if (targetComment) { targetComment.content = editedContent; // 댓글 내용 업데이트 targetComment.isEditTextarea = false; // 수정 모드 닫기 + togglePassword('close'); } else { toastStore.onToast('수정할 댓글을 찾을 수 없습니다.', 'e'); }