diff options
author | Scott González <scott.gonzalez@gmail.com> | 2011-05-29 13:50:53 -0400 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2011-05-29 13:50:53 -0400 |
commit | 608bc9513f4cdfe5d11cef9ff721085eed2003cc (patch) | |
tree | c293befa772e5bae940cc82d03ad21815e4aaed5 | |
parent | 917d2b135891339cb02ce9cda5721faecae2a3ae (diff) | |
download | jquery-ui-608bc9513f4cdfe5d11cef9ff721085eed2003cc.tar.gz jquery-ui-608bc9513f4cdfe5d11cef9ff721085eed2003cc.zip |
Tooltip demo: Small tweaks.
-rw-r--r-- | demos/tooltip/delegation-mixbag.html | 8 |
1 files 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 @@ <h3><a href="http://maps.google.com/maps?q=vienna,+austria&z=11" data-geo="48.208174,16.373819">Vienna, Austria</a>.</h3> </div> <a href="http://en.wikipedia.org/wiki/File:Wien_Stefansdom_DSC02656.JPG"> - <img src="images/st-stephens.jpg" alt="St. Stephen's Cathedral"> + <img src="images/st-stephens.jpg" alt="St. Stephen's Cathedral" class="ui-corner-all"> </a> </div> @@ -68,7 +68,7 @@ <h3><a href="http://maps.google.com/maps?q=london,+england&z=11" data-geo="51.500152,-0.126236">London, England</a>.</h3> </div> <a href="http://en.wikipedia.org/wiki/File:Tower_bridge_London_Twilight_-_November_2006.jpg"> - <img src="images/tower-bridge.jpg" alt="Tower Bridge"> + <img src="images/tower-bridge.jpg" alt="Tower Bridge" class="ui-corner-all"> </a> </div> |