summaryrefslogtreecommitdiffstats
path: root/js/jquery.multi-select.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/jquery.multi-select.js')
-rw-r--r--js/jquery.multi-select.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/jquery.multi-select.js b/js/jquery.multi-select.js
index 1772630..b9e7e10 100644
--- a/js/jquery.multi-select.js
+++ b/js/jquery.multi-select.js
@@ -323,12 +323,12 @@
'activeMouse' : function($list){
var that = this;
- $('body').on('mouseenter', that.elemsSelector, function(){
+ $('.ms-container').on('mouseenter', that.elemsSelector, function(){
$(this).parents('.ms-container').find(that.elemsSelector).removeClass('ms-hover');
$(this).addClass('ms-hover');
});
- $('body').on('mouseleave', that.elemsSelector, function () {
+ $('.ms-container').on('mouseleave', that.elemsSelector, function () {
$(this).parents('.ms-container').find(that.elemsSelector).removeClass('ms-hover');;
});
},