.filter() on a .hover() function not working in 1.4.3 and above
Why does the
filter() portion of this code not trigger in jQuery 1.4.3+? Is there a better way to be doing this? The filter() does trigger and work properly in jQuery 1.4.2 and below.
- $(document).ready(function(){
- $('#list a').hover(function(){
- $(this).addClass('on');
- }).filter(':first').hover();
- });