Skip to content

Commit

Permalink
2.1.1 Bug fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
markgoodyear committed Dec 10, 2013
1 parent 7a16403 commit 85d135f
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,5 +64,5 @@ module.exports = function (grunt) {
grunt.loadNpmTasks('grunt-contrib-clean');
grunt.loadNpmTasks("grunt-contrib-concat");

grunt.registerTask('default', [ 'clean', 'jshint', 'concat', 'uglify', ]);
};
grunt.registerTask('default', ['clean', 'jshint', 'concat', 'uglify']);
};
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -78,4 +78,4 @@ <h2>Dummy content</h2>
</div>

</body>
</html>
</html>
6 changes: 3 additions & 3 deletions js/jquery.scrollUp.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
scrollup v2.1.0
scrollup v2.1.1
Author: Mark Goodyear - http://markgoodyear.com
Git: https://github.com/markgoodyear/scrollup
Expand Down Expand Up @@ -81,7 +81,7 @@
e.preventDefault();
$('html, body').animate({
scrollTop:0
}, o.topSpeed, o.easingType);
}, o.scrollSpeed, o.easingType);
});
};

Expand Down Expand Up @@ -120,4 +120,4 @@

$.scrollUp = $.fn.scrollUp;

})(jQuery, window, document);
})(jQuery, window, document);
4 changes: 2 additions & 2 deletions js/jquery.scrollUp.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
Expand Up @@ -2,7 +2,7 @@
"name": "scrollup",
"title": "scrollUp",
"description": "A jQuery plugin to create a customisable 'Scroll to top' feature that will work with any website, with ease.",
"version": "2.1.0",
"version": "2.1.1",
"year": "2013",
"keywords": [
"jquery",
Expand Down
4 changes: 2 additions & 2 deletions src/jquery.scrollUp.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
e.preventDefault();
$('html, body').animate({
scrollTop:0
}, o.topSpeed, o.easingType);
}, o.scrollSpeed, o.easingType);
});
};

Expand Down Expand Up @@ -107,4 +107,4 @@

$.scrollUp = $.fn.scrollUp;

})(jQuery, window, document);
})(jQuery, window, document);

0 comments on commit 85d135f

Please sign in to comment.