transcroll
Advanced tools
Comparing version 1.2.0 to 1.2.1
10
index.js
@@ -89,7 +89,9 @@ var easings = { | ||
var targetPosition = Math.max(0, Math.min( | ||
typeof target === 'number' && target || | ||
typeof target === 'string' && (getPageOffset(select(target)) - getPageOffset()) || | ||
target instanceof Element && (getPageOffset(target) - getPageOffset()), | ||
( | ||
typeof target === 'number' && target || | ||
typeof target === 'string' && (getPageOffset(select(target)) - getPageOffset()) || | ||
target instanceof Element && (getPageOffset(target) - getPageOffset()) | ||
) + offset, | ||
maxPosition() | ||
)) + offset; | ||
)); | ||
@@ -96,0 +98,0 @@ var data = { |
{ | ||
"name": "transcroll", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"description": "Animate scroll in a modern way", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/mrTimofey/transcroll", |
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
6897
129