error on mouseout event

Jun 22, 2009 at 6:05 PM

When moving the mouse cursor around above the arrow of the flexbox, if I move rapidly between being on and off the arrow, I get this error:

Error: Permission denied to get property HTMLDivElement.parentNode

which comes from line 2869 in the jquery library (v 1.3.2):

// Checks if an event happened on an element within another element
2863// Used in jQuery.event.special.mouseenter and mouseleave handlers
2864var withinElement = function(event) {
2865 // Check if mouse(over|out) are still within the same parent element
2866 var parent = event.relatedTarget;
2867 // Traverse up the tree
2868 while ( parent && parent != this )
2869 try { parent = parent.parentNode; }
2870 catch(e) { parent = this; }
2871
2872 if( parent != this ){
2873 // set the correct event type
2874 event.type = event.data;
2875 // handle event if we actually just moused on to a non sub-element
2876 jQuery.event.handle.apply( this, arguments );
2878};

What can I do to avoid this error?