Fix string tooltips not showing
This commit is contained in:
parent
c97858705d
commit
bf8e9ddf45
1 changed files with 1 additions and 1 deletions
|
|
@ -344,7 +344,7 @@ var Autocomplete = function() {
|
||||||
doc = selected;
|
doc = selected;
|
||||||
|
|
||||||
if (typeof doc == "string")
|
if (typeof doc == "string")
|
||||||
doc = {tooltipText: doc}
|
doc = {docText: doc}
|
||||||
if (!doc || !(doc.docHTML || doc.docText))
|
if (!doc || !(doc.docHTML || doc.docText))
|
||||||
return this.hideDocTooltip();
|
return this.hideDocTooltip();
|
||||||
this.showDocTooltip(doc);
|
this.showDocTooltip(doc);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue