From 5ccbc03d7082085638917fd53d13639d118b3ec5 Mon Sep 17 00:00:00 2001 From: Nikolay Date: Wed, 15 Apr 2015 14:43:21 +0300 Subject: [PATCH] Update tooltip.js --- src/tooltip.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tooltip.js b/src/tooltip.js index 6b0a7d4..75d1416 100644 --- a/src/tooltip.js +++ b/src/tooltip.js @@ -75,7 +75,7 @@ c3_chart_internal_fn.tooltipPosition = function (dataToShow, tWidth, tHeight, el } if (tooltipRight > chartRight) { - // 20 is needed for Firefox to keep tooletip width + // 20 is needed for Firefox to keep tooltip width tooltipLeft -= tooltipRight - chartRight + 20; } if (tooltipTop + tHeight > $$.currentHeight) {