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.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/js/jquery.multi-select.js b/js/jquery.multi-select.js
index f51211c..71d3b03 100644
--- a/js/jquery.multi-select.js
+++ b/js/jquery.multi-select.js
@@ -323,13 +323,13 @@
'activeMouse' : function($list){
var that = this;
- $('.ms-container').on('mouseenter', that.elemsSelector, function(){
+ this.$container.on('mouseenter', that.elemsSelector, function(){
$(this).parents('.ms-container').find(that.elemsSelector).removeClass('ms-hover');
$(this).addClass('ms-hover');
});
- $('.ms-container').on('mouseleave', that.elemsSelector, function () {
- $(this).parents('.ms-container').find(that.elemsSelector).removeClass('ms-hover');;
+ this.$container.on('mouseleave', that.elemsSelector, function () {
+ $(this).parents('.ms-container').find(that.elemsSelector).removeClass('ms-hover');;
});
},