Skip to content

Commit 1405b60

Browse files
committed
Fixed minor errors.
Added semicolon on line 53, and replaced "!=" with "!=="
1 parent a5a9ff8 commit 1405b60

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
@@ -50,7 +50,7 @@
5050

5151
$.swipebox.extend = function (){
5252
return ui;
53-
}
53+
};
5454

5555
plugin.init = function() {
5656

@@ -556,7 +556,7 @@
556556

557557
if ( index === 0 ) {
558558
$( '#swipebox-prev' ).addClass( 'disabled' );
559-
} else if ( index === elements.length - 1 && plugin.settings.loopAtEnd != true) {
559+
} else if ( index === elements.length - 1 && plugin.settings.loopAtEnd !== true) {
560560
$( '#swipebox-next' ).addClass( 'disabled' );
561561
}
562562
},

0 commit comments

Comments
 (0)