From: Felix Nagel Date: Sat, 16 Apr 2011 13:46:17 +0000 (+0200) Subject: fixed: problem within moveFocus method, thanks to i2amsam, see https://github.com... X-Git-Tag: selectmenu_v1.1.0~21 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=f62637506dc2fa7f403163c1ff8d29b4c89687e3;p=jquery-ui.git fixed: problem within moveFocus method, thanks to i2amsam, see https://github.com/fnagel/jquery-ui/issues/99 --- diff --git a/ui/jquery.ui.selectmenu.js b/ui/jquery.ui.selectmenu.js index 537d6f394..fc476956d 100644 --- a/ui/jquery.ui.selectmenu.js +++ b/ui/jquery.ui.selectmenu.js @@ -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', '');