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.
2 parents a30f290 + a5312d5 commit b092319Copy full SHA for b092319
src/js/jquery.swipebox.js
@@ -677,7 +677,7 @@
677
*/
678
getNext : function () {
679
var $this = this;
680
- index = $( '#swipebox-slider .slide' ).index( $( '#swipebox-slider .slide.current' ) );
+ var index = $( '#swipebox-slider .slide' ).index( $( '#swipebox-slider .slide.current' ) );
681
if ( index+1 < elements.length ) {
682
index++;
683
$this.setSlide( index );
@@ -696,7 +696,7 @@
696
* Get previous slide
697
698
getPrev : function () {
699
700
if ( index > 0 ) {
701
index--;
702
this.setSlide( index );
0 commit comments