Modify ↓
Ticket #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: | ||
| 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
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.

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