mirror of https://github.com/logos-co/open-law.git
fix console log
This commit is contained in:
parent
b8b8130eef
commit
0c54d73f17
|
@ -8,7 +8,6 @@ export function initComments() {
|
||||||
if (deleteCommentBtn && deleteCommentInputOnModal) {
|
if (deleteCommentBtn && deleteCommentInputOnModal) {
|
||||||
deleteCommentBtn.addEventListener('click', () => {
|
deleteCommentBtn.addEventListener('click', () => {
|
||||||
const id = deleteCommentBtn.getAttribute('data-comment-id');
|
const id = deleteCommentBtn.getAttribute('data-comment-id');
|
||||||
console.log(id);
|
|
||||||
deleteCommentInputOnModal.value = id;
|
deleteCommentInputOnModal.value = id;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue