8000 unslider 2: the shrunkening · Dream-git/unslider@abb217c · GitHub
[go: up one dir, main page]

Skip to content

Commit abb217c

Bro 8000 wse files
author
Visual Idiot
committed
unslider 2: the shrunkening
1 parent 8c37897 commit abb217c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

dist/js/unslider-min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/js/unslider.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@
5959
// Either set true/false, or an object with the HTML
6060
// elements for each arrow like below:
6161
arrows: {
62-
prev: '<a class="' + self._ + '-arrow prev">Previous</a>',
63-
next: '<a class="' + self._ + '-arrow next">Next</a>'
62+
prev: '<a class="' + self._ + '-arrow prev"></a>',
63+
next: '<a class="' + self._ + '-arrow next"></a>'
6464
},
6565

6666
// How should Unslider animate?
@@ -445,7 +445,7 @@
445445
// horizontal animation
446446
self.animateHorizontal = function(to) {
447447
if(self.options.animateHeight) {
448-
self.$context.move({height: self.$slides.eq(to).height()});
448+
self._move(self.$context, {height: self.$slides.eq(to).height()}, false);
449449
}
450450

451451
if(self.options.infinite) {

0 commit comments

Comments
 (0)
0