aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Nagel <info@felixnagel.com>2011-04-16 15:46:17 +0200
committerFelix Nagel <info@felixnagel.com>2011-04-16 15:46:17 +0200
commitf62637506dc2fa7f403163c1ff8d29b4c89687e3 (patch)
treea27b4df0268cd830dbb9cc964189261a35b9538e
parent40b89209c1839ea0e0791d7a5e5bda8336d6af2b (diff)
downloadjquery-ui-f62637506dc2fa7f403163c1ff8d29b4c89687e3.tar.gz
jquery-ui-f62637506dc2fa7f403163c1ff8d29b4c89687e3.zip
fixed: problem within moveFocus method, thanks to i2amsam, see https://github.com/fnagel/jquery-ui/issues/99
-rw-r--r--ui/jquery.ui.selectmenu.js5
1 files changed, 0 insertions, 5 deletions
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', '');