.filter() on a .hover() function not working in 1.4.3 and above

.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.

  1. $(document).ready(function(){
  2.   $('#list a').hover(function(){
  3.     $(this).addClass('on');
  4.   }).filter(':first').hover();
  5. });