]> source.dussan.org Git - jquery-ui.git/commitdiff
Tooltip: Use bgiframe if available
authorScott González <scott.gonzalez@gmail.com>
Sun, 29 May 2011 23:28:35 +0000 (19:28 -0400)
committerScott González <scott.gonzalez@gmail.com>
Sun, 29 May 2011 23:28:35 +0000 (19:28 -0400)
ui/jquery.ui.tooltip.js

index 44398a871b5e2515eabd9af381711c1c272ecf79..7722e6472881bf454f7798a34c5ba029ae805946 100644 (file)
@@ -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;
        },