Skip to content

Commit 14756d9

Browse files
committed
fixed: Problem with YUI compressor cause of wrong named var, thx to Tane, https://github.com/fnagel/jquery-ui/issues/#issue/74
1 parent 05f7c61 commit 14756d9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ui/jquery.ui.selectmenu.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -427,10 +427,10 @@ $.widget("ui.selectmenu", {
427427
// define our find var
428428
var find = typeof(self._prevChar) == 'undefined' ? '' : self._prevChar.join('');
429429

430-
function focusOptSeq(elem, ind, char){
430+
function focusOptSeq(elem, ind, c){
431431
focusFound = true;
432432
$(elem).trigger(eventType);
433-
typeof(self._prevChar) == 'undefined' ? self._prevChar = [char] : self._prevChar[self._prevChar.length] = char;
433+
typeof(self._prevChar) == 'undefined' ? self._prevChar = [c] : self._prevChar[self._prevChar.length] = c;
434434
}
435435
this.list.find('li a').each(function(i) {
436436
if (!focusFound) {

0 commit comments

Comments
 (0)