From f0f54e38d8eab613d7ea25d698b81126e5263d83 Mon Sep 17 00:00:00 2001 From: "Richard D. Worth" Date: Fri, 11 Nov 2011 09:24:55 -0500 Subject: [PATCH] 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 --- demos/accordion/hoverintent.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.5