Opened 10 years ago
Closed 10 years ago
#12534 closed bug (fixed)
.offset() throws an error on BlackBerry5 and iOS3
Reported by: | dmethvin | Owned by: | |
---|---|---|---|
Priority: | blocker | Milestone: | 1.8.2 |
Component: | offset | Version: | 1.8.0 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
After the slimming done for jQuery 1.8.0 we lost the try/catch that used to be around the call to getBoundingClientRect. Rather than throw an error on these older browsers, let's return 0,0 so they can at least stumble along.
Change History (2)
comment:1 Changed 10 years ago by
Component: | unfiled → offset |
---|---|
Milestone: | None → 1.8.2 |
Priority: | undecided → blocker |
Status: | new → open |
comment:2 Changed 10 years ago by
Resolution: | → fixed |
---|---|
Status: | open → closed |
Note: See
TracTickets for help on using
tickets.
Fix #12534. Don't die on browsers lacking getBoundingClientRect.