Horndev / zapread.com

Website for zapread.com
https://www.zapread.com
GNU Affero General Public License v3.0
18 stars 4 forks source link

Block sending empty comments #100

Closed gpon64 closed 5 years ago

gpon64 commented 5 years ago

Describe the bug If I am clicked a send button, but no writed a comments it comment will be send.

To Reproduce

  1. Open any topic.
  2. Click send button next to comment.
  3. Empty comment has been send.

Expected behavior Should visible a message "You can not send empty comment. Please write a comment and try again"

Screenshots koment

Desktop (please complete the following information):

Smartphone (please complete the following information): I am have not testin on mobile devices.

Horndev commented 5 years ago

fixed in https://github.com/Horndev/zapread.com/commit/3fe937c705205c46b4a433d55669c6c6e52e4119