aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2017-11-01 02:03:06 +0300
committerGravatar Vitaly Takmazov2017-11-01 02:03:06 +0300
commit4790deec83f711a797ba23b6d658d516e865dd85 (patch)
tree15f2f0b0ed7429804a6bbfda059b946cfaac0689
parent3e87cc6a73fbfc165f81d5f7a3d7d1f76e7feb9a (diff)
www: drop empty comment check from js
-rw-r--r--juick-www/src/main/static/scripts.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/juick-www/src/main/static/scripts.js b/juick-www/src/main/static/scripts.js
index e33d1929..6bea2ea3 100644
--- a/juick-www/src/main/static/scripts.js
+++ b/juick-www/src/main/static/scripts.js
@@ -354,7 +354,6 @@ function showCommentForm(mid, rid) {
let validateMessage = () => {
let len = textarea.value.length;
- if (len < 1) { return 'Empty message'; }
if (len > 4096) { return 'Message is too long'; }
return '';
};