Skip to content

Commit 0fc41bc

Browse files
committed
Tooltip: Use bgiframe if available
1 parent 133fba2 commit 0fc41bc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ui/jquery.ui.tooltip.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,9 @@ $.widget( "ui.tooltip", {
164164
.addClass( "ui-tooltip-content" )
165165
.appendTo( tooltip );
166166
tooltip.appendTo( document.body );
167+
if ( $.fn.bgiframe ) {
168+
tooltip.bgiframe();
169+
}
167170
this.tooltips[ id ] = true;
168171
return tooltip;
169172
},

0 commit comments

Comments
 (0)