]> source.dussan.org Git - jquery-ui.git/commitdiff
fixed: Problem with YUI compressor cause of wrong named var, thx to Tane, https:...
authorFelix Nagel <info@felixnagel.com>
Thu, 17 Feb 2011 00:11:22 +0000 (01:11 +0100)
committerFelix Nagel <info@felixnagel.com>
Thu, 17 Feb 2011 00:11:22 +0000 (01:11 +0100)
ui/jquery.ui.selectmenu.js

index d1a41fe02b173957975c71811ad261da83d92a0f..bc875145ae2bbd029482355a0b40624e427d214e 100644 (file)
@@ -427,10 +427,10 @@ $.widget("ui.selectmenu", {
                        // define our find var
                        var find = typeof(self._prevChar) == 'undefined' ? '' : self._prevChar.join('');
                        
-                       function focusOptSeq(elem, ind, char){
+                       function focusOptSeq(elem, ind, c){
                                focusFound = true;
                                $(elem).trigger(eventType);
-                               typeof(self._prevChar) == 'undefined' ? self._prevChar = [char] : self._prevChar[self._prevChar.length] = char;
+                               typeof(self._prevChar) == 'undefined' ? self._prevChar = [c] : self._prevChar[self._prevChar.length] = c;
                        }
                        this.list.find('li a').each(function(i) {       
                                if (!focusFound) {