mirror of
https://github.com/jquery/jquery.git
synced 2026-02-06 17:44:59 -05:00
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:
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
|
||||
|
||||
Reference in New Issue
Block a user