diff --git a/contrib/js/nntpchan/post-reply.js b/contrib/js/nntpchan/post-reply.js index 67dd6dd..f70c07b 100644 --- a/contrib/js/nntpchan/post-reply.js +++ b/contrib/js/nntpchan/post-reply.js @@ -132,6 +132,12 @@ ReplyBox.prototype.show = function(info) { console.log("reply box show for "+info.reference); var self = this; $(self.elem).css("display", "inline-block"); + $(self.elem).css("position", "fixed"); + var off = $(info.elem).offset(); + $(self.elem).offset({ + top: off.top, + left: off.left + }); self.submit.onclick = function(ev) { $.ajax({ data: self.makePost(info),