Skip to content

Commit

Permalink
Merge pull request #515 from cgalvan/upstream
Browse files Browse the repository at this point in the history
#510 - Fixed issue with tooltips not displaying on first mouseover.
  • Loading branch information
MeoMix committed May 8, 2015
2 parents d8e404d + 7047360 commit 6ae2498
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/js/foreground/view/behavior/tooltip.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,12 @@ define(function() {
}, this);
}
}

// We only come here the first time the element is hovered over,
// but since we don't decorate the element until after it has been
// hovered over, we need to trigger the 'mouseenter' again to make
// the tooltip appear.
this.$el.trigger('mouseenter');
},

_decorateTooltipable: function(tooltipableElement) {
Expand Down

0 comments on commit 6ae2498

Please sign in to comment.