Modify ↓
Ticket #3198 (closed bug: invalid)
hover function causes jquery crash "g is undefined"
| Reported by: | hendler | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | 1.3 |
| Component: | core | Version: | 1.2.6 |
| Keywords: | hover | Cc: | |
| Blocking: | Blocked by: |
Description
Hover fails when applied to a css class that is nested in an element that is hidden. Replacing the hover function with a click() function eliminates the crash.
This in a custom Drupal module where the offending code is:
$('.iid-title').hover(function( ){});
And on page load the .iid-title class is always nested in:
<div class="fieldset-wrapper" style="height: auto; display: none;">
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.

Firefox3 - Ubuntu