diff options
author | HombreLaser <sebastian-440@live.com> | 2024-02-29 12:23:00 -0600 |
---|---|---|
committer | HombreLaser <sebastian-440@live.com> | 2024-02-29 12:23:00 -0600 |
commit | 92c58b56a94d4cd3484eb9f5e6393a67392700df (patch) | |
tree | 33dbce95c5d409bcf6798c81203fed8a0f8b98f1 /static | |
parent | b918a93f6854ced395e313dae0501b9267d6da30 (diff) |
Add more replies button
Diffstat (limited to 'static')
-rw-r--r-- | static/js/controllers/comments_controller.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/static/js/controllers/comments_controller.js b/static/js/controllers/comments_controller.js index 5f454df..458ff43 100644 --- a/static/js/controllers/comments_controller.js +++ b/static/js/controllers/comments_controller.js @@ -52,6 +52,7 @@ export class CommentsController extends BaseController { async submit(event) { var form = new FormData(event.target); + form.set('content', form.get('content').trim()); form.append("domain", `${window.location.protocol}//${window.location.host}`); super.submit(event, `${this.comments_server_host}/api/comments?path=${this.post}`, form); |