diff options
author | Sam X. Chen <sam.xi.chen@gmail.com> | 2019-07-22 23:33:44 -0400 |
---|---|---|
committer | Sam X. Chen <sam.xi.chen@gmail.com> | 2019-07-22 23:33:44 -0400 |
commit | 3632f4c8ab9b7ba6a6c1f191e41ad26232471a3a (patch) | |
tree | 965a8149debb265150f1bd3b3fe9ee56681d1c76 /client/components/activities/comments.js | |
parent | 0291bcde17669e0dd6141a4f114aa3b3caf54338 (diff) | |
download | wekan-3632f4c8ab9b7ba6a6c1f191e41ad26232471a3a.tar.gz wekan-3632f4c8ab9b7ba6a6c1f191e41ad26232471a3a.tar.bz2 wekan-3632f4c8ab9b7ba6a6c1f191e41ad26232471a3a.zip |
Add Feature: Comments can be richer (can support some safe HTML tags)
Diffstat (limited to 'client/components/activities/comments.js')
-rw-r--r-- | client/components/activities/comments.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/components/activities/comments.js b/client/components/activities/comments.js index 3fc5770c..8289b628 100644 --- a/client/components/activities/comments.js +++ b/client/components/activities/comments.js @@ -54,7 +54,7 @@ BlazeComponent.extendComponent({ // XXX This should be a static method of the `commentForm` component function resetCommentInput(input) { - input.val(''); + input.val('').trigger('input'); // without manually trigger, input event won't be fired input.blur(); commentFormIsOpen.set(false); } |