summaryrefslogtreecommitdiff
path: root/public/assets/js/lib/views/stream/hootform.js
diff options
context:
space:
mode:
authorjulian laplace <julescarbon@gmail.com>2022-10-27 22:03:49 +0200
committerjulian laplace <julescarbon@gmail.com>2022-10-27 22:03:49 +0200
commit35b9318fbf27f4025dd50be2c0a59046dfab3baf (patch)
tree6633007600429297e5072f7eace2c3b8150f692f /public/assets/js/lib/views/stream/hootform.js
parenta785cfa3d2977e80a7419894e3767e9b8f45fe5b (diff)
hootform styling and fixing
Diffstat (limited to 'public/assets/js/lib/views/stream/hootform.js')
-rw-r--r--public/assets/js/lib/views/stream/hootform.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/public/assets/js/lib/views/stream/hootform.js b/public/assets/js/lib/views/stream/hootform.js
index f13cc55..07533d5 100644
--- a/public/assets/js/lib/views/stream/hootform.js
+++ b/public/assets/js/lib/views/stream/hootform.js
@@ -6,7 +6,8 @@ var HootForm = FormView.extend({
action: "/api/thread/1/comment",
initialize: function (opt) {
- this.__super__.initialize.call(this);
+ this.__super__.initialize.call(this, opt);
+ this.parent = opt.parent;
this.$comment = this.$("[name=comment]");
},