From: Richard D. Worth Date: Fri, 11 Nov 2011 14:24:55 +0000 (-0500) Subject: Demos accordion hoverintent: moved event.type setter to not clobber event.type. Parti... X-Git-Tag: 1.9m7~148 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=f0f54e38d8eab613d7ea25d698b81126e5263d83;p=jquery-ui.git Demos accordion hoverintent: moved event.type setter to not clobber event.type. Partial fix for #7871 - Demo accordion hoverintent: hover instead of hoverintent behavior with jQuery 1.7.0 --- diff --git a/demos/accordion/hoverintent.html b/demos/accordion/hoverintent.html index ce4703117..e39fb6d52 100644 --- a/demos/accordion/hoverintent.html +++ b/demos/accordion/hoverintent.html @@ -29,7 +29,6 @@ $( this ).unbind( "mouseover", jQuery.event.special.hoverintent.handler ); }, handler: function( event ) { - event.type = "hoverintent"; var self = this, args = arguments, target = $( event.target ), @@ -50,6 +49,7 @@ function handler() { if ( ( Math.abs( pX - cX ) + Math.abs( pY - cY ) ) < cfg.sensitivity ) { clear(); + event.type = "hoverintent"; jQuery.event.handle.apply( self, args ); } else { pX = cX;