1 | Index: fx.shadow.js |
---|
2 | =================================================================== |
---|
3 | --- fx.shadow.js (revision 3658) |
---|
4 | +++ fx.shadow.js (working copy) |
---|
5 | @@ -37,7 +37,8 @@ |
---|
6 | $("div.fx-shadow-color", shadow).css("background-color", options.color); |
---|
7 | |
---|
8 | //Determine the stack order (attention: the zIndex will get one higher!) |
---|
9 | - if(!cur.css("zIndex") || cur.css("zIndex") == "auto") { |
---|
10 | + var safari2 = $.browser.safari && parseInt($.browser.version) < 522; |
---|
11 | + if(!cur.css("zIndex") || cur.css("zIndex") == "auto" || (safari2 && cur.css("zIndex" == "normal"))) { |
---|
12 | var stack = 0; |
---|
13 | cur.css("position", (cur.css("position") == "static" ? "relative" : cur.css("position"))).css("z-index", "1"); |
---|
14 | } else { |
---|