summaryrefslogtreecommitdiffstats
path: root/apps/comments/js/commentstabview.js
diff options
context:
space:
mode:
Diffstat (limited to 'apps/comments/js/commentstabview.js')
-rw-r--r--apps/comments/js/commentstabview.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/comments/js/commentstabview.js b/apps/comments/js/commentstabview.js
index fc074b709ad..c3903674e84 100644
--- a/apps/comments/js/commentstabview.js
+++ b/apps/comments/js/commentstabview.js
@@ -172,6 +172,7 @@
this.$el.find('.message').on('keydown input change', this._onTypeComment);
autosize(this.$el.find('.newCommentRow .message'))
+ this.$el.find('.newCommentForm .message').focus();
},
_initAutoComplete: function($target) {
@@ -303,6 +304,8 @@
}
);
}
+ this.$el.find('.newCommentForm .message').focus();
+
},
/**