Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
hsnaydd committed Apr 12, 2017
2 parents 2bf5588 + 759ebf2 commit 6acf37f
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
3 changes: 1 addition & 2 deletions dist/moveTo.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*!
* MoveTo - A lightweight scroll animation javascript library without any dependency.
* Version 1.6.0 (27-03-2017 10:55)
* Version 1.6.1 (12-04-2017 10:18)
* Licensed under MIT
* Copyright 2017 Hasan Aydoğdu <[email protected]>
*/
Expand Down Expand Up @@ -157,7 +157,6 @@ var MoveTo = function () {

if (lastPageYOffset) {
if (
lastPageYOffset === currentPageYOffset ||
change > 0 && lastPageYOffset > currentPageYOffset ||
change < 0 && lastPageYOffset < currentPageYOffset)
{
Expand Down
4 changes: 2 additions & 2 deletions dist/moveTo.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "moveto",
"version": "1.6.0",
"version": "1.6.1",
"description": "A lightweight scroll animation javascript library without any dependency.",
"main": "dist/moveTo.js",
"scripts": {
Expand Down
1 change: 0 additions & 1 deletion src/moveTo.js
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,6 @@ const MoveTo = (() => {

if (lastPageYOffset) {
if (
(lastPageYOffset === currentPageYOffset) ||
(change > 0 && lastPageYOffset > currentPageYOffset) ||
(change < 0 && lastPageYOffset < currentPageYOffset)
) {
Expand Down

0 comments on commit 6acf37f

Please sign in to comment.