fix typo
This commit is contained in:
parent
2983fcb9b6
commit
c4c8b2ec7e
1 changed files with 1 additions and 1 deletions
|
|
@ -146,7 +146,7 @@ var TokenTooltip = function(editor) {
|
|||
var st = tooltipNode.style;
|
||||
if (x + 10 + this.tooltipWidth > this.maxWidth)
|
||||
x = innerWidth - this.tooltipWidth - 10;
|
||||
if (y > innerHeight * 0.75 || y + 20 + this.tooltipHeight > this.maxHeight);
|
||||
if (y > innerHeight * 0.75 || y + 20 + this.tooltipHeight > this.maxHeight)
|
||||
y = y - this.tooltipHeight - 30;
|
||||
|
||||
st.left = x + 10 + "px";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue