We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 796dd7d commit a5312d5Copy full SHA for a5312d5
src/js/jquery.swipebox.js
@@ -642,7 +642,7 @@
642
*/
643
getNext : function () {
644
var $this = this;
645
- index = $( '#swipebox-slider .slide' ).index( $( '#swipebox-slider .slide.current' ) );
+ var index = $( '#swipebox-slider .slide' ).index( $( '#swipebox-slider .slide.current' ) );
646
if ( index+1 < elements.length ) {
647
index++;
648
$this.setSlide( index );
@@ -661,7 +661,7 @@
661
* Get previous slide
662
663
getPrev : function () {
664
665
if ( index > 0 ) {
666
index--;
667
this.setSlide( index );
0 commit comments