Permalink
Browse files

updates

  • Loading branch information...
1 parent 847e64d commit 3e4d349380e56ea79771b6e35979b673fbbca518 @annavester committed Mar 2, 2013
Showing with 3 additions and 2 deletions.
  1. +3 −2 tooltip.js
View
@@ -18,6 +18,7 @@ var Tooltip = function (){
this.init = function(options) {
var i = 0, cur;
+
config = merge(options);
elements = polyGetByClassName('tooltip');
@@ -47,8 +48,8 @@ var Tooltip = function (){
tooltipPosY = event.pageY,
tooltipContent;
- tooltipContainer.className = config.containerClassName;
- tooltipContainer.style.cssText = 'opacity:'+config.opacity+';background-color:'+config.bgColor+';width:'+config.width+';height:'+config.height+';color:'+config.txtColor+';left:'+tooltipPosX+'px;top:'+tooltipPosY+'px;'+config.customCSS+'';
+ tooltipContainer.className = config.containerClassName;
+ tooltipContainer.style.cssText = 'opacity:'+config.opacity+';background-color:'+config.bgColor+';width:'+config.width+';height:'+config.height+';color:'+config.txtColor+';left:'+tooltipPosX+'px;top:'+tooltipPosY+'px;'+config.customCSS+'';
if (tooltipType === "element") {
/*

0 comments on commit 3e4d349

Please sign in to comment.