diff options
Diffstat (limited to 'src/offset.js')
-rw-r--r-- | src/offset.js | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/offset.js b/src/offset.js index ffd049157..aee95efde 100644 --- a/src/offset.js +++ b/src/offset.js @@ -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, |