Applied arrix's fix for getting style values on elements that aren't in the DOM, in Safari. (Bug #1482)
This commit is contained in:
parent
f64eb21fad
commit
735e2e8197
2
src/jquery/jquery.js
vendored
2
src/jquery/jquery.js
vendored
|
@ -1509,7 +1509,7 @@ jQuery.extend({
|
||||||
// then some display: none elements are involved
|
// then some display: none elements are involved
|
||||||
else {
|
else {
|
||||||
// Locate all of the parent display: none elements
|
// Locate all of the parent display: none elements
|
||||||
for ( var a = elem; color(a); a = a.parentNode )
|
for ( var a = elem; a && color(a); a = a.parentNode )
|
||||||
stack.unshift(a);
|
stack.unshift(a);
|
||||||
|
|
||||||
// Go through and make them visible, but in reverse
|
// Go through and make them visible, but in reverse
|
||||||
|
|
Loading…
Reference in a new issue