From 35b9318fbf27f4025dd50be2c0a59046dfab3baf Mon Sep 17 00:00:00 2001 From: julian laplace Date: Thu, 27 Oct 2022 22:03:49 +0200 Subject: hootform styling and fixing --- public/assets/js/lib/views/stream/hootform.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'public/assets/js/lib/views/stream/hootform.js') 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]"); }, -- cgit v1.2.3-70-g09d2