Skip to content

Commit

Permalink
unslider 2: the shrunkening
Browse files Browse the repository at this point in the history
  • Loading branch information
Visual Idiot committed Nov 9, 2015
1 parent 8c37897 commit abb217c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dist/js/unslider-min.js

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

6 changes: 3 additions & 3 deletions src/js/unslider.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@
// Either set true/false, or an object with the HTML
// elements for each arrow like below:
arrows: {
prev: '<a class="' + self._ + '-arrow prev">Previous</a>',
next: '<a class="' + self._ + '-arrow next">Next</a>'
prev: '<a class="' + self._ + '-arrow prev"></a>',
next: '<a class="' + self._ + '-arrow next"></a>'
},

// How should Unslider animate?
Expand Down Expand Up @@ -445,7 +445,7 @@
// horizontal animation
self.animateHorizontal = function(to) {
if(self.options.animateHeight) {
self.$context.move({height: self.$slides.eq(to).height()});
self._move(self.$context, {height: self.$slides.eq(to).height()}, false);
}

if(self.options.infinite) {
Expand Down

0 comments on commit abb217c

Please sign in to comment.