jQuery: The Write Less, Do More JavaScript Library

Ticket #113 (closed bug: invalid)

Opened 2 years ago

Last modified 1 year ago

hover() mouseout bug

Reported by: anonymous Assigned to: anonymous
Type: bug Priority: major
Milestone: 1.0 Component: event
Version: 1.0 Keywords:
Cc: Needs:

Description

This code is not calling the mouseout function in firefox or IE according to my tests:

$("li").hover( function(){$(this).addClass("active");}, function(){$(this).removeClass("active");} );

Attachments

Change History

Changed 2 years ago by john

  • version set to 1.0
  • milestone set to 1.0

Changed 2 years ago by john

  • status changed from new to closed
  • resolution set to fixed

This has been resolved in SVN.

Changed 2 years ago by mmihajlovic@…

  • status changed from closed to reopened
  • resolution deleted
  • summary changed from hover() mouseout bug in rev 165 to hover() mouseout bug

I'm still getting an error on IE. Althoug I haven't tested it, I think the problem is with removeClass and not the MouseOut? event. This is still happening in ver 1.

Changed 2 years ago by mmihajlovic@…

Damn, I goofed. The problem is actually with toggle, not removeClass. Should I create a new bug entry?

Changed 2 years ago by joern

  • status changed from reopened to closed
  • resolution set to invalid
Note: See TracTickets for help on using tickets.