From 608bc9513f4cdfe5d11cef9ff721085eed2003cc Mon Sep 17 00:00:00 2001 From: =?utf8?q?Scott=20Gonz=C3=A1lez?= Date: Sun, 29 May 2011 13:50:53 -0400 Subject: [PATCH] Tooltip demo: Small tweaks. --- demos/tooltip/delegation-mixbag.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/demos/tooltip/delegation-mixbag.html b/demos/tooltip/delegation-mixbag.html index 8de513fcd..8b25aa285 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 @@

Vienna, Austria.

- St. Stephen's Cathedral + St. Stephen's Cathedral @@ -68,7 +68,7 @@

London, England.

- Tower Bridge + Tower Bridge -- 2.39.5