Bug Tracker

Modify

Ticket #113 (closed bug: invalid)

Opened 7 years ago

Last modified 6 years ago

hover() mouseout bug

Reported by: anonymous Owned by:
Priority: major Milestone: 1.0
Component: event Version: 1.0
Keywords: Cc:
Blocking: Blocked by:

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");} );

Change History

comment:1 Changed 7 years ago by john

  • Version set to 1.0
  • Milestone set to 1.0

comment:2 Changed 7 years ago by john

  • Status changed from new to closed
  • Resolution set to fixed

This has been resolved in SVN.

comment:3 Changed 7 years ago by mmihajlovic@…

  • Status changed from closed to reopened
  • Resolution fixed 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.

comment:4 Changed 7 years ago by mmihajlovic@…

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

comment:5 Changed 7 years ago by joern

  • Status changed from reopened to closed
  • Resolution set to invalid

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.