aboutsummaryrefslogtreecommitdiffstats
path: root/demos/accordion
diff options
context:
space:
mode:
authorRichard D. Worth <rdworth@gmail.com>2011-11-11 09:24:55 -0500
committerRichard D. Worth <rdworth@gmail.com>2011-11-11 09:24:55 -0500
commitf0f54e38d8eab613d7ea25d698b81126e5263d83 (patch)
treec40c0076c9be0699aa82793194370b838a06a4cc /demos/accordion
parent1b165148a6654f64d572bd4c28ddb2cee5f6a332 (diff)
downloadjquery-ui-f0f54e38d8eab613d7ea25d698b81126e5263d83.tar.gz
jquery-ui-f0f54e38d8eab613d7ea25d698b81126e5263d83.zip
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
Diffstat (limited to 'demos/accordion')
-rw-r--r--demos/accordion/hoverintent.html2
1 files changed, 1 insertions, 1 deletions
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;