 <p>And... well... thanks to @BMH, <strong>this</strong> is what worked :</p> <pre><code>$('[comp-id]:not(.hover)').mousemove(function(e){ $('[comp-id]').removeClass('hover'); e.stopPropagation(); $(this).addClass('hover'); }); </code></pre>