Opened 15 years ago
Closed 15 years ago
#1482 closed bug (fixed)
.curCSS() fails in safari when elem has no .parentNode
Reported by: | arrix | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 1.1.4 |
Component: | core | Version: | 1.1.3 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Index: E:/zm/jquery/jquery/src/jquery/jquery.js =================================================================== --- E:/zm/jquery/jquery/src/jquery/jquery.js (revision 2668) +++ E:/zm/jquery/jquery/src/jquery/jquery.js (working copy) @@ -1509,7 +1509,7 @@ // 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
Note: See
TracTickets for help on using
tickets.
Committed in SVN rev [2780].