diff options
| author | rr- | 2016-12-24 21:49:39 +0100 |
|---|---|---|
| committer | rr- | 2016-12-25 21:49:39 +0100 |
| commit | fe0ba63f191b56853c8b57d9538a39c57ad91165 (patch) | |
| tree | 085ea88c7280624049cd552b7d1a0b665b00f6bf /client/js/views/post_main_view.js | |
| parent | f0573be715ca3d7aab66a055d0eb7d4555ce2549 (diff) | |
client/comments: rework comments appearance and UX
Diffstat (limited to 'client/js/views/post_main_view.js')
| -rw-r--r-- | client/js/views/post_main_view.js | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/client/js/views/post_main_view.js b/client/js/views/post_main_view.js index 446297d..7c115db 100644 --- a/client/js/views/post_main_view.js +++ b/client/js/views/post_main_view.js @@ -10,8 +10,8 @@ const PostReadonlySidebarControl = require('../controls/post_readonly_sidebar_control.js'); const PostEditSidebarControl = require('../controls/post_edit_sidebar_control.js'); +const CommentControl = require('../controls/comment_control.js'); const CommentListControl = require('../controls/comment_list_control.js'); -const CommentFormControl = require('../controls/comment_form_control.js'); const template = views.getTemplate('post-main'); @@ -101,9 +101,8 @@ class PostMainView { return; } - this.commentFormControl = new CommentFormControl( - commentFormContainer, null, false, 150); - this.commentFormControl.enterEditMode(); + this.commentControl = new CommentControl( + commentFormContainer, null, true); } _installComments(comments) { |