diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2017-12-12 04:41:13 +0100 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2017-12-12 04:41:13 +0100 |
| commit | 041efed20500c145a639d8303c2a0e770bba4552 (patch) | |
| tree | 8a8c00ac93589036b1b917a8f3e58e06670e1f33 /public/assets/js/lib/views/details/commentform.js | |
| parent | d4ece4ab1f461653c53bb56f23406c553ea78dd3 (diff) | |
hoot order!
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, 3 insertions, 0 deletions
diff --git a/public/assets/js/lib/views/details/commentform.js b/public/assets/js/lib/views/details/commentform.js index e082248..b3f37bc 100644 --- a/public/assets/js/lib/views/details/commentform.js +++ b/public/assets/js/lib/views/details/commentform.js @@ -16,6 +16,9 @@ var CommentForm = FormView.extend({ load: function(thread){ this.action = "/api/thread/" + thread.id + "/comment" + if (thread.settings.noupload) { + this.$("[type=file]").hide() + } }, focus: function(){ |
