try positioning
This commit is contained in:
parent
c1c2ed2dda
commit
f04627ff4f
@ -132,6 +132,12 @@ ReplyBox.prototype.show = function(info) {
|
|||||||
console.log("reply box show for "+info.reference);
|
console.log("reply box show for "+info.reference);
|
||||||
var self = this;
|
var self = this;
|
||||||
$(self.elem).css("display", "inline-block");
|
$(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) {
|
self.submit.onclick = function(ev) {
|
||||||
$.ajax({
|
$.ajax({
|
||||||
data: self.makePost(info),
|
data: self.makePost(info),
|
||||||
|
Reference in New Issue
Block a user