Side navigation
#2073 closed bug (fixed)
Opened December 17, 2007 10:46PM UTC
Closed December 19, 2007 07:08PM UTC
offset(): parent has no properties
Reported by: | daepark | Owned by: | brandon |
---|---|---|---|
Priority: | major | Milestone: | 1.2.2 |
Component: | offset | Version: | 1.2.1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
When calling offset, I sometimes get parent is not defined ("parent has no properties") error in firebug. The offending line is:
while ( parent.tagName && !/^body|html$/i.test(parent.tagName) ) {
checking for parent first seems to make this problem go away:
while ( parent && parent.tagName && !/^body|html$/i.test(parent.tagName) ) {
Attachments (0)
Change History (1)
Changed December 19, 2007 07:08PM UTC by comment:1
resolution: | → fixed |
---|---|
status: | new → closed |
Fixed in [4241]