Finally fix timer.js

parent ad36ea0d
...@@ -122,10 +122,9 @@ window.addEventListener("load", function() { ...@@ -122,10 +122,9 @@ window.addEventListener("load", function() {
// cancel form submiting // cancel form submiting
event.preventDefault(); event.preventDefault();
if (!isworker()) { if (!isetersoft()) {
const comment = document.querySelector('#comment').value.length; const comment = document.querySelector('#comment').value.length;
if (!comment) { if (!comment) {
alert('Поле комментария не может быть пустым!'); alert('Поле комментария не может быть пустым!');
return 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