diff --git a/pagure/templates/pull_request_comment.html b/pagure/templates/pull_request_comment.html
index 7cc9657..1f6702c 100644
--- a/pagure/templates/pull_request_comment.html
+++ b/pagure/templates/pull_request_comment.html
@@ -16,7 +16,7 @@
id="comment_block">
-
diff --git a/pagure/templates/repo_pull_request.html b/pagure/templates/repo_pull_request.html
index 6c57da1..e73268b 100644
--- a/pagure/templates/repo_pull_request.html
+++ b/pagure/templates/repo_pull_request.html
@@ -1172,7 +1172,7 @@ function try_async_comment(form, inline) {
/* Keep some variable in memory before sending them in case the SSE is down */
var _update = false;
- var _comment = $(form).find('#comment').val();
+ var _comment = inline ? $(form).find('#inline-comment').val() : $(form).find('#comment').val();
var _comment_id = null;
if (!_comment && form.update_comment) {
_update = true;