Finally fix timer.js

parent ad36ea0d
......@@ -122,10 +122,9 @@ window.addEventListener("load", function() {
// cancel form submiting
event.preventDefault();
if (!isworker()) {
if (!isetersoft()) {
const comment = document.querySelector('#comment').value.length;
if (!comment) {
alert('Поле комментария не может быть пустым!');
return
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment