Skip to content

Commit

Permalink
remove item highlighting when mouse leaves list
Browse files Browse the repository at this point in the history
  • Loading branch information
Oliver Gillespie committed Aug 13, 2014
1 parent b819277 commit 2549080
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions js/jquery.multi-select.js
Expand Up @@ -324,6 +324,10 @@
$(this).parents('.ms-container').find(that.elemsSelector).removeClass('ms-hover');
$(this).addClass('ms-hover');
});

$('body').on('mouseleave', that.elemsSelector, function () {
$(this).parents('.ms-container').find(that.elemsSelector).removeClass('ms-hover');;
});
},

'refresh' : function() {
Expand Down

0 comments on commit 2549080

Please sign in to comment.