diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2017-12-15 11:24:00 +0100 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2017-12-15 11:24:00 +0100 |
| commit | 148bdaec5aaf66b885d7070894b81dfd76df2d5c (patch) | |
| tree | d60aec3ac20db83fbda10632c92e0e3901fbdb52 /public/assets/js/lib/views/details/commentform.js | |
| parent | 6c601a35b1d79bfe5b53c3c6177420c9d90fbba9 (diff) | |
delete files
Diffstat (limited to 'public/assets/js/lib/views/details/commentform.js')
| -rw-r--r-- | public/assets/js/lib/views/details/commentform.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/public/assets/js/lib/views/details/commentform.js b/public/assets/js/lib/views/details/commentform.js index e30193d..a14caa3 100644 --- a/public/assets/js/lib/views/details/commentform.js +++ b/public/assets/js/lib/views/details/commentform.js @@ -4,7 +4,7 @@ var CommentForm = FormView.extend({ events: { "focus textarea": 'focus', - "focus input[type=file]": 'focus', + "mouseup input[type=file]": 'focus', }, action: "", @@ -24,6 +24,7 @@ var CommentForm = FormView.extend({ focus: function(){ this.$el.addClass('focused') + $("[name=comment]").prop("required", false) }, validate: function(){ |
