Comparing version 0.2.5 to 0.2.6
@@ -38,2 +38,3 @@ 'use strict'; | ||
}; | ||
var offset = void 0; | ||
@@ -51,3 +52,5 @@ | ||
if ((0, _nodeName2.default)(offsetParent) !== 'html') { | ||
parentOffset = (0, _getOffset2.default)(offsetParent); | ||
var nextParentOffset = (0, _getOffset2.default)(offsetParent); | ||
parentOffset.top = nextParentOffset.top; | ||
parentOffset.left = nextParentOffset.left; | ||
} | ||
@@ -54,0 +57,0 @@ |
{ | ||
"name": "dom-lib", | ||
"version": "0.2.5", | ||
"version": "0.2.6", | ||
"description": "DOM helper library", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
64863
1611