more
This commit is contained in:
parent
1b18fc89a2
commit
c8146eb783
@ -88,6 +88,8 @@ function ReplyBox() {
|
|||||||
table.appendChild(tbody);
|
table.appendChild(tbody);
|
||||||
this.elem.appendChild(table);
|
this.elem.appendChild(table);
|
||||||
document.body.appendChild(this.elem);
|
document.body.appendChild(this.elem);
|
||||||
|
$(this.elem).css("position", "fixed");
|
||||||
|
$(this.elem).css("display", "none");
|
||||||
this._open = false;
|
this._open = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -139,8 +141,7 @@ ReplyBox.prototype.show = function(info) {
|
|||||||
self.reload();
|
self.reload();
|
||||||
self._open = true;
|
self._open = true;
|
||||||
console.log("reply box show for "+info.reference);
|
console.log("reply box show for "+info.reference);
|
||||||
$(self.elem).css("display", "inline-block");
|
|
||||||
$(self.elem).css("position", "fixed");
|
|
||||||
var off = $(info.elem).offset();
|
var off = $(info.elem).offset();
|
||||||
$(self.elem).offset({
|
$(self.elem).offset({
|
||||||
top: off.top,
|
top: off.top,
|
||||||
|
Reference in New Issue
Block a user