Fis JS undefined for non logged in users
This commit is contained in:
parent
5f573a468f
commit
32d4a62246
@ -28,7 +28,7 @@ document.addEventListener("DOMContentLoaded", () => {
|
|||||||
|
|
||||||
const addValidation = () => {
|
const addValidation = () => {
|
||||||
const comment = document.getElementById("comment");
|
const comment = document.getElementById("comment");
|
||||||
comment.addEventListener("input", handlerCounter);
|
comment?.addEventListener("input", handlerCounter);
|
||||||
};
|
};
|
||||||
|
|
||||||
addValidation();
|
addValidation();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user