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
1 changed files with 1 additions and 1 deletions
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
|
||||
else {
|
||||
// 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);
|
||||
|
||||
// Go through and make them visible, but in reverse
|
||||
|
|
Loading…
Reference in a new issue