Bug Tracker

Opened 12 years ago

Closed 12 years ago

#3160 closed bug (invalid)

Error in hover event

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

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 (1)

comment:1 Changed 12 years ago by flesler

Component: coreevent
Resolution: invalid
Status: newclosed

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

Note: See TracTickets for help on using tickets.