Bug Tracker

Modify

Ticket #3160 (closed bug: invalid)

Opened 5 years ago

Last modified 5 years ago

Error in hover event

Reported by: strahil Owned by:
Priority: major Milestone: 1.3
Component: event Version: 1.2.6
Keywords: Cc:
Blocking: Blocked by:

Description

My code:

$('#rate1').hover(function () {

alert('s');

});

Error:

handler is undefined  http://beta.data.bg/js/jquery.js Line 25

Your code:

if(handler)delete events[type][handler.guid]

Description:

The alert() function still works but the error comes up.

Change History

comment:1 Changed 5 years ago by flesler

  • Status changed from new to closed
  • Resolution set to invalid
  • Component changed from core to event

.hover requires 2 functions. It's in the docs.

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.