diff options
author | Vitaly Takmazov | 2017-11-01 02:03:06 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2017-11-01 02:03:06 +0300 |
commit | 4790deec83f711a797ba23b6d658d516e865dd85 (patch) | |
tree | 15f2f0b0ed7429804a6bbfda059b946cfaac0689 /juick-www/src/main | |
parent | 3e87cc6a73fbfc165f81d5f7a3d7d1f76e7feb9a (diff) |
www: drop empty comment check from js
Diffstat (limited to 'juick-www/src/main')
-rw-r--r-- | juick-www/src/main/static/scripts.js | 1 |
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 ''; }; |