diff --git a/demos/tooltip/delegation-mixbag.html b/demos/tooltip/delegation-mixbag.html index 8de513fcd5..8b25aa285a 100644 --- a/demos/tooltip/delegation-mixbag.html +++ b/demos/tooltip/delegation-mixbag.html @@ -38,10 +38,10 @@ }); } if ( element.is( "[title]" ) ) { - return $( this ).attr( "title" ); + return element.attr( "title" ); } if ( element.is( "img" ) ) { - return $( this ).attr( "alt" ); + return element.attr( "alt" ); } } }); @@ -58,7 +58,7 @@
+
@@ -68,7 +68,7 @@
+