aboutsummaryrefslogtreecommitdiffstats
path: root/demos
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2011-05-29 13:50:53 -0400
committerScott González <scott.gonzalez@gmail.com>2011-05-29 13:50:53 -0400
commit608bc9513f4cdfe5d11cef9ff721085eed2003cc (patch)
treec293befa772e5bae940cc82d03ad21815e4aaed5 /demos
parent917d2b135891339cb02ce9cda5721faecae2a3ae (diff)
downloadjquery-ui-608bc9513f4cdfe5d11cef9ff721085eed2003cc.tar.gz
jquery-ui-608bc9513f4cdfe5d11cef9ff721085eed2003cc.zip
Tooltip demo: Small tweaks.
Diffstat (limited to 'demos')
-rw-r--r--demos/tooltip/delegation-mixbag.html8
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>