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 9bf9127 + ab0aa9f commit 2489720Copy full SHA for 2489720
src/jquery.multiselect.js
@@ -447,7 +447,7 @@
447
var moveToLast = which === 38 || which === 37;
448
449
// select the first li that isn't an optgroup label / disabled
450
- var $next = $start.parent()[moveToLast ? 'prevAll' : 'nextAll']('li:not(.ui-multiselect-disabled, .ui-multiselect-optgroup-label)')[ moveToLast ? 'last' : 'first']();
+ var $next = $start.parent()[moveToLast ? 'prevAll' : 'nextAll']('li:not(.ui-multiselect-disabled, .ui-multiselect-optgroup-label)').first();
451
452
// if at the first/last element
453
if(!$next.length) {
0 commit comments