Merge pull request #2189 from takapa/master

Improve tooltips
This commit is contained in:
Harutyun Amirjanyan 2014-10-21 19:55:27 +04:00
commit af859e2b0c

View file

@ -352,7 +352,7 @@ var Autocomplete = function() {
this.showDocTooltip = function(item) {
if (!this.tooltipNode) {
this.tooltipNode = dom.createElement("pre");
this.tooltipNode = dom.createElement("div");
this.tooltipNode.className = "ace_tooltip ace_doc-tooltip";
this.tooltipNode.style.margin = 0;
this.tooltipNode.style.pointerEvents = "auto";
@ -381,7 +381,6 @@ var Autocomplete = function() {
tooltipNode.style.left = (rect.right + 1) + "px";
tooltipNode.style.right = "";
}
// tooltipNode.style.height = rect.height + "px";
tooltipNode.style.display = "block";
};