Changeset 4241
- Timestamp:
- 12/19/07 19:07:12 (1 year ago)
- Files:
-
- 1 modified
-
trunk/jquery/src/offset.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/jquery/src/offset.js
r4240 r4241 56 56 57 57 // Get parent scroll offsets 58 while ( parent .tagName && !/^body|html$/i.test(parent.tagName) ) {58 while ( parent && parent.tagName && !/^body|html$/i.test(parent.tagName) ) { 59 59 // Remove parent scroll UNLESS that parent is inline or a table to work around Opera inline/table scrollLeft/Top bug 60 60 if ( !/^inline|table.*$/i.test(jQuery.css(parent, "display")) )
