diff options
author | Jayaram Pai | 2014-05-13 13:04:21 +0530 |
---|---|---|
committer | Jayaram Pai | 2014-05-13 13:04:21 +0530 |
commit | ed0f82a0a28b503b3b3e5260695e2d00fcde4fa9 (patch) | |
tree | 89c731c20ad8c6a8a9f7a071a6ff11f82d578025 | |
parent | 2080927e6680790d290a201bc4a557180c74cc97 (diff) | |
download | spoken-tutorial-forums-ed0f82a0a28b503b3b3e5260695e2d00fcde4fa9.tar.gz spoken-tutorial-forums-ed0f82a0a28b503b3b3e5260695e2d00fcde4fa9.tar.bz2 spoken-tutorial-forums-ed0f82a0a28b503b3b3e5260695e2d00fcde4fa9.zip |
changed slider direction to standard
-rw-r--r-- | static/website/templates/index.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/static/website/templates/index.html b/static/website/templates/index.html index c12ca8b..7f4a497 100644 --- a/static/website/templates/index.html +++ b/static/website/templates/index.html @@ -155,14 +155,14 @@ $(".slick-prev").bind("click", function(e) { var current_slide = $carousel.slickCurrentSlide(); $carousel.slickSetOption("slidesToScroll",3); - $carousel.slickGoTo(current_slide + 3); + $carousel.slickGoTo(current_slide - 3); $carousel.slickSetOption("slidesToScroll",1); e.stopPropagation(); }); $(".slick-next").bind("click", function(e) { var current_slide = $carousel.slickCurrentSlide(); $carousel.slickSetOption("slidesToScroll",3); - $carousel.slickGoTo(current_slide - 3); + $carousel.slickGoTo(current_slide + 3); $carousel.slickSetOption("slidesToScroll",1); e.stopPropagation(); }); |