Skip to content

Commit 84bc850

Browse files
authored
Merge pull request #218 from TheNephalim/master
removed return before call to self.callbacks.moveToRight. The return…
2 parents 0f0939f + 60f3ae1 commit 84bc850

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

dist/js/multiselect.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -367,16 +367,16 @@ if (typeof jQuery === 'undefined') {
367367
moveToRight: function( $options, event, silent, skipStack ) {
368368
var self = this;
369369

370-
if ( typeof self.callbacks.moveToRight == 'function' ) {
371-
return self.callbacks.moveToRight( self, $options, event, silent, skipStack );
372-
}
373-
374370
if ( typeof self.callbacks.beforeMoveToRight == 'function' && !silent ) {
375371
if ( !self.callbacks.beforeMoveToRight( self.$left, self.$right, $options ) ) {
376372
return false;
377373
}
378374
}
379375

376+
if ( typeof self.callbacks.moveToRight == 'function' ) {
377+
self.callbacks.moveToRight( self, $options, event, silent, skipStack );
378+
}
379+
380380
self.moveFromAtoB(self.$left, self.$right, $options, event, silent, skipStack);
381381

382382
if ( !skipStack ) {

0 commit comments

Comments
 (0)