From f04627ff4f183c5e3f49b6b833de203df7d34778 Mon Sep 17 00:00:00 2001 From: Jeff Becker Date: Mon, 16 Jan 2017 14:30:05 -0500 Subject: [PATCH] try positioning --- contrib/js/nntpchan/post-reply.js | 6 ++++++ 1 file changed, 6 insertions(+) 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),