Skip to content

Commit 09dbc75

Browse files
committed
fixes z-index bug with modals and flash
1 parent 1062c27 commit 09dbc75

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

ui/jquery.ui.widget.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,12 @@ $.widget = function( name, base, prototype ) {
8080

8181
$.widget.bridge = function( name, object ) {
8282
$.fn[ name ] = function( options ) {
83+
84+
// fixes flash z-index bug
85+
if (arguments.length > 0) {
86+
jQueryToggleFlashVisibility(arguments)
87+
};
88+
8389
var isMethodCall = typeof options === "string",
8490
args = Array.prototype.slice.call( arguments, 1 ),
8591
returnValue = this;

0 commit comments

Comments
 (0)