From c4c8b2ec7e4c9ea5ef4db4be46982215d6419e4f Mon Sep 17 00:00:00 2001 From: nightwing Date: Wed, 24 Oct 2012 11:14:11 +0400 Subject: [PATCH] fix typo --- demo/kitchen-sink/token_tooltip.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/demo/kitchen-sink/token_tooltip.js b/demo/kitchen-sink/token_tooltip.js index 61977335..b16966c2 100644 --- a/demo/kitchen-sink/token_tooltip.js +++ b/demo/kitchen-sink/token_tooltip.js @@ -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";