Offset: simplify jQuery#offsetParent method
commit74ae5444832b2fb966768a97281d2ad8c088bc58
authorOleg Gaidarenko <markelog@gmail.com>
Tue, 13 Jan 2015 05:12:14 +0000 (13 08:12 +0300)
committerOleg Gaidarenko <markelog@gmail.com>
Tue, 13 Jan 2015 05:12:51 +0000 (13 08:12 +0300)
treeec680d732518cee5f7740cc4cfd9a8efd81a05cd
parent85ffc6d973865a031ded170934e0acfc2e97cb11
Offset: simplify jQuery#offsetParent method

* It seems, check for html element (and previously for body element)
  was redundant

* Simplify "return" statement

* Add comment about potential errors that didn't find themselves
  in real life app

Closes gh-1968
src/offset.js