From 041efed20500c145a639d8303c2a0e770bba4552 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Tue, 12 Dec 2017 04:41:13 +0100 Subject: hoot order! --- public/assets/js/lib/views/details/commentform.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'public/assets/js/lib/views/details/commentform.js') 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(){ -- cgit v1.2.3-70-g09d2