Commit 735e2e81 authored by John Resig's avatar John Resig

Applied arrix's fix for getting style values on elements that aren't in the...

Applied arrix's fix for getting style values on elements that aren't in the DOM, in Safari. (Bug #1482)
parent f64eb21f
...@@ -1509,7 +1509,7 @@ jQuery.extend({ ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment