Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

Commit

Permalink
fix(ripple): moved mouseleave listener to a separated declaration
Browse files Browse the repository at this point in the history
This caused tooltip to never get hidden
  • Loading branch information
EladBezalel committed Nov 6, 2015
1 parent fbcc3ac commit 2e2aaa8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/core/services/ripple/ripple.js
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,8 @@ InkRippleCtrl.prototype._parseColor = function parseColor (color, multiplier) {
*/
InkRippleCtrl.prototype.bindEvents = function () {
this.$element.on('mousedown', angular.bind(this, this.handleMousedown));
this.$element.on('mouseup touchend mouseleave', angular.bind(this, this.handleMouseup));
this.$element.on('mouseup touchend', angular.bind(this, this.handleMouseup));
this.$element.on('mouseleave', angular.bind(this, this.handleMouseup));
this.$element.on('touchmove', angular.bind(this, this.handleTouchmove));
};

Expand Down

0 comments on commit 2e2aaa8

Please sign in to comment.