diff --git a/src/tipso.js b/src/tipso.js index 83b9999..57230cd 100644 --- a/src/tipso.js +++ b/src/tipso.js @@ -203,7 +203,8 @@ } tipso_bubble.find('.tipso_title').css({ background: obj.settings.titleBackground, - color: obj.settings.titleColor + color: obj.settings.titleColor, + display: typeof obj.titleContent() === "undefined" ? 'none' : 'block' }); tipso_bubble.find('.tipso_content').html(obj.content()); tipso_bubble.find('.tipso_title').html(obj.titleContent());