Skip to content

Commit e3339c1

Browse files
author
Constantin Saguin
committed
Merge pull request brutaldesign#156 from iamdmitrymayorov/master
Fixed minor errors.
2 parents 235a0c1 + 1405b60 commit e3339c1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/js/jquery.swipebox.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151

5252
$.swipebox.extend = function (){
5353
return ui;
54-
}
54+
};
5555

5656
plugin.init = function() {
5757

@@ -628,7 +628,7 @@
628628

629629
if ( index === 0 ) {
630630
$( '#swipebox-prev' ).addClass( 'disabled' );
631-
} else if ( index === elements.length - 1 && plugin.settings.loopAtEnd != true) {
631+
} else if ( index === elements.length - 1 && plugin.settings.loopAtEnd !== true) {
632632
$( '#swipebox-next' ).addClass( 'disabled' );
633633
}
634634
},

0 commit comments

Comments
 (0)