diff options
-rw-r--r-- | js/jquery.multi-select.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/js/jquery.multi-select.js b/js/jquery.multi-select.js index 3aeb509..fc4164b 100644 --- a/js/jquery.multi-select.js +++ b/js/jquery.multi-select.js @@ -322,9 +322,11 @@ 'activeMouse' : function($list){ var that = this; - + var lastMovedDom = false; $list.on('mousemove', function(){ - var elems = $list.find(that.elemsSelector); + if (lastMovedDom === this) return; + lastMovedDom = this; + var elems = $list.find(that.elemsSelector); elems.on('mouseenter', function(){ elems.removeClass('ms-hover'); |