aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2011-05-29 19:28:35 -0400
committerScott González <scott.gonzalez@gmail.com>2011-05-29 19:28:35 -0400
commit0fc41bcc4d7f084463a8b68f225789964b009d0d (patch)
treec043e843f4f65ef80a92c224f7e3e1b093ad1a43 /ui
parent133fba2ad9b588233f7c7303619ac42351f08926 (diff)
downloadjquery-ui-0fc41bcc4d7f084463a8b68f225789964b009d0d.tar.gz
jquery-ui-0fc41bcc4d7f084463a8b68f225789964b009d0d.zip
Tooltip: Use bgiframe if available
Diffstat (limited to 'ui')
-rw-r--r--ui/jquery.ui.tooltip.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/ui/jquery.ui.tooltip.js b/ui/jquery.ui.tooltip.js
index 44398a871..7722e6472 100644
--- a/ui/jquery.ui.tooltip.js
+++ b/ui/jquery.ui.tooltip.js
@@ -164,6 +164,9 @@ $.widget( "ui.tooltip", {
.addClass( "ui-tooltip-content" )
.appendTo( tooltip );
tooltip.appendTo( document.body );
+ if ( $.fn.bgiframe ) {
+ tooltip.bgiframe();
+ }
this.tooltips[ id ] = true;
return tooltip;
},