commit
af859e2b0c
1 changed files with 1 additions and 2 deletions
|
|
@ -352,7 +352,7 @@ var Autocomplete = function() {
|
||||||
|
|
||||||
this.showDocTooltip = function(item) {
|
this.showDocTooltip = function(item) {
|
||||||
if (!this.tooltipNode) {
|
if (!this.tooltipNode) {
|
||||||
this.tooltipNode = dom.createElement("pre");
|
this.tooltipNode = dom.createElement("div");
|
||||||
this.tooltipNode.className = "ace_tooltip ace_doc-tooltip";
|
this.tooltipNode.className = "ace_tooltip ace_doc-tooltip";
|
||||||
this.tooltipNode.style.margin = 0;
|
this.tooltipNode.style.margin = 0;
|
||||||
this.tooltipNode.style.pointerEvents = "auto";
|
this.tooltipNode.style.pointerEvents = "auto";
|
||||||
|
|
@ -381,7 +381,6 @@ var Autocomplete = function() {
|
||||||
tooltipNode.style.left = (rect.right + 1) + "px";
|
tooltipNode.style.left = (rect.right + 1) + "px";
|
||||||
tooltipNode.style.right = "";
|
tooltipNode.style.right = "";
|
||||||
}
|
}
|
||||||
// tooltipNode.style.height = rect.height + "px";
|
|
||||||
tooltipNode.style.display = "block";
|
tooltipNode.style.display = "block";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue