* Fix error for history component.

This commit is contained in:
caoyanyi
2023-06-07 14:57:52 +08:00
parent 10a3d26e65
commit 5a535bd9fe
+1 -1
View File
@@ -57,4 +57,4 @@ function closeCommentForm(event)
}
const closeBtn = document.querySelector('#btn-close-form');
closeBtn.addEventListener('click', closeCommentForm);
if(closeBtn) closeBtn.addEventListener('click', closeCommentForm);