* Fix error for history component.
This commit is contained in:
@@ -57,4 +57,4 @@ function closeCommentForm(event)
|
||||
}
|
||||
|
||||
const closeBtn = document.querySelector('#btn-close-form');
|
||||
closeBtn.addEventListener('click', closeCommentForm);
|
||||
if(closeBtn) closeBtn.addEventListener('click', closeCommentForm);
|
||||
|
||||
Reference in New Issue
Block a user