From 5842bdac35b8e34a77757e86f47983ff5f93d7d8 Mon Sep 17 00:00:00 2001 From: upphiminn Date: Thu, 23 Jul 2015 17:09:08 +0200 Subject: [PATCH] Fixing firefox issue (mozilla bugzilla: #612118) - formatting. --- src/title.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/title.js b/src/title.js index 798f683..8330d59 100644 --- a/src/title.js +++ b/src/title.js @@ -21,7 +21,7 @@ c3_chart_internal_fn.xForTitle = function () { } else { throw(e); } - } + } if (position.indexOf('right') >= 0) { x = $$.currentWidth - textWidth - config.title_padding.right; } else if (position.indexOf('center') >= 0) { @@ -41,8 +41,8 @@ c3_chart_internal_fn.yForTitle = function () { textHeight = 0; } else { throw(e); - } - } + } + } return $$.config.title_padding.top + textHeight; }; c3_chart_internal_fn.getTitlePadding = function() {