]> source.dussan.org Git - jquery-ui.git/commitdiff
fixed: problem within moveFocus method, thanks to i2amsam, see https://github.com...
authorFelix Nagel <info@felixnagel.com>
Sat, 16 Apr 2011 13:46:17 +0000 (15:46 +0200)
committerFelix Nagel <info@felixnagel.com>
Sat, 16 Apr 2011 13:46:17 +0000 (15:46 +0200)
ui/jquery.ui.selectmenu.js

index 537d6f39408b00f6ce16683d63d8811dccfff173..fc476956d0b8caffa04dc944d530401c51d31d45 100644 (file)
@@ -597,11 +597,6 @@ $.widget("ui.selectmenu", {
                        newIndex = this._optionLis.size() - 1;
                }
                
-               //Occurs when a full loop has been made
-               if (newIndex === recIndex) { 
-                       return false; 
-               }
-               
                var activeID = this.widgetBaseClass + '-item-' + Math.round(Math.random() * 1000);
 
                this._focusedOptionLi().find('a:eq(0)').attr('id', '');