mirror of
https://github.com/jquery/jquery.git
synced 2026-04-20 03:01:22 -04:00
Misc: Drop support for older browsers; update support comments
That includes Opera 12.x, Firefox<29, Safari<6.0 and some hacks for old Blackberry. Closes gh-1820 Refs gh-1815
This commit is contained in:
@@ -96,11 +96,7 @@ jQuery.fn.extend({
|
||||
return box;
|
||||
}
|
||||
|
||||
// Support: BlackBerry 5, iOS 3 (original iPhone)
|
||||
// If we don't have gBCR, just use 0,0 rather than error
|
||||
if ( elem.getBoundingClientRect ) {
|
||||
box = elem.getBoundingClientRect();
|
||||
}
|
||||
box = elem.getBoundingClientRect();
|
||||
win = getWindow( doc );
|
||||
return {
|
||||
top: box.top + win.pageYOffset - docElem.clientTop,
|
||||
|
||||
Reference in New Issue
Block a user