Merge branch 'main' of http://192.168.0.251:3000/localnet/localhost-front
All checks were successful
LocalNet_front/pipeline/head This commit looks good
All checks were successful
LocalNet_front/pipeline/head This commit looks good
This commit is contained in:
commit
2290a2b5af
@ -658,9 +658,7 @@
|
|||||||
// 수정
|
// 수정
|
||||||
if (lastCommentClickedButton.value === 'edit') {
|
if (lastCommentClickedButton.value === 'edit') {
|
||||||
if (targetComment) {
|
if (targetComment) {
|
||||||
// 다른 모든 댓글의 수정 창 닫기
|
closeAllEditTextareas(); // 다른 모든 댓글의 수정 창 닫기
|
||||||
closeAllEditTextareas();
|
|
||||||
|
|
||||||
targetComment.isEditTextarea = true;
|
targetComment.isEditTextarea = true;
|
||||||
passwordCommentAlert.value = '';
|
passwordCommentAlert.value = '';
|
||||||
currentPasswordCommentId.value = null;
|
currentPasswordCommentId.value = null;
|
||||||
@ -755,6 +753,7 @@
|
|||||||
if (targetComment) {
|
if (targetComment) {
|
||||||
targetComment.content = editedContent; // 댓글 내용 업데이트
|
targetComment.content = editedContent; // 댓글 내용 업데이트
|
||||||
targetComment.isEditTextarea = false; // 수정 모드 닫기
|
targetComment.isEditTextarea = false; // 수정 모드 닫기
|
||||||
|
togglePassword('close');
|
||||||
} else {
|
} else {
|
||||||
toastStore.onToast('수정할 댓글을 찾을 수 없습니다.', 'e');
|
toastStore.onToast('수정할 댓글을 찾을 수 없습니다.', 'e');
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user