mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Offset: Simplified a conditional
This commit is contained in:
parent
29838b6cab
commit
4287442ab8
@ -98,7 +98,7 @@ jQuery.fn.extend({
|
|||||||
|
|
||||||
// Support: BlackBerry 5, iOS 3 (original iPhone)
|
// Support: BlackBerry 5, iOS 3 (original iPhone)
|
||||||
// If we don't have gBCR, just use 0,0 rather than error
|
// If we don't have gBCR, just use 0,0 rather than error
|
||||||
if ( elem.getBoundingClientRect !== undefined ) {
|
if ( elem.getBoundingClientRect ) {
|
||||||
box = elem.getBoundingClientRect();
|
box = elem.getBoundingClientRect();
|
||||||
}
|
}
|
||||||
win = getWindow( doc );
|
win = getWindow( doc );
|
||||||
|
Loading…
Reference in New Issue
Block a user