Permalink
Browse files

Offset: Simplified a conditional

  • Loading branch information...
ChrisAntaki authored and markelog committed Jul 25, 2014
1 parent 29838b6 commit 4287442ab8bdf8d9f008f3e84ccbf7d86d0fb5db
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/offset.js
View
@@ -98,7 +98,7 @@ jQuery.fn.extend({
// Support: BlackBerry 5, iOS 3 (original iPhone)
// If we don't have gBCR, just use 0,0 rather than error
if ( elem.getBoundingClientRect !== undefined ) {
if ( elem.getBoundingClientRect ) {
box = elem.getBoundingClientRect();
}
win = getWindow( doc );

0 comments on commit 4287442

Please sign in to comment.