Skip to content

Commit 85d135f

Browse files
committed
2.1.1 Bug fixes
1 parent 7a16403 commit 85d135f

6 files changed

Lines changed: 11 additions & 11 deletions

File tree

Gruntfile.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,5 +64,5 @@ module.exports = function (grunt) {
6464
grunt.loadNpmTasks('grunt-contrib-clean');
6565
grunt.loadNpmTasks("grunt-contrib-concat");
6666

67-
grunt.registerTask('default', [ 'clean', 'jshint', 'concat', 'uglify', ]);
68-
};
67+
grunt.registerTask('default', ['clean', 'jshint', 'concat', 'uglify']);
68+
};

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,4 +78,4 @@ <h2>Dummy content</h2>
7878
</div>
7979

8080
</body>
81-
</html>
81+
</html>

js/jquery.scrollUp.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
3-
scrollup v2.1.0
3+
scrollup v2.1.1
44
Author: Mark Goodyear - http://markgoodyear.com
55
Git: https://github.com/markgoodyear/scrollup
66
@@ -81,7 +81,7 @@
8181
e.preventDefault();
8282
$('html, body').animate({
8383
scrollTop:0
84-
}, o.topSpeed, o.easingType);
84+
}, o.scrollSpeed, o.easingType);
8585
});
8686
};
8787

@@ -120,4 +120,4 @@
120120

121121
$.scrollUp = $.fn.scrollUp;
122122

123-
})(jQuery, window, document);
123+
})(jQuery, window, document);

js/jquery.scrollUp.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "scrollup",
33
"title": "scrollUp",
44
"description": "A jQuery plugin to create a customisable 'Scroll to top' feature that will work with any website, with ease.",
5-
"version": "2.1.0",
5+
"version": "2.1.1",
66
"year": "2013",
77
"keywords": [
88
"jquery",

src/jquery.scrollUp.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
e.preventDefault();
6969
$('html, body').animate({
7070
scrollTop:0
71-
}, o.topSpeed, o.easingType);
71+
}, o.scrollSpeed, o.easingType);
7272
});
7373
};
7474

@@ -107,4 +107,4 @@
107107

108108
$.scrollUp = $.fn.scrollUp;
109109

110-
})(jQuery, window, document);
110+
})(jQuery, window, document);

0 commit comments

Comments
 (0)