summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Nagel <info@felixnagel.com>2011-02-17 01:11:22 +0100
committerFelix Nagel <info@felixnagel.com>2011-02-17 01:11:22 +0100
commit14756d95d29d3bbc11616a71957faac84ed3bb07 (patch)
treeed3090d12667bab3840626887d4d0a1ecc72b3fd
parent05f7c614504eedcb86ca9e8971f9b58b896b6a0e (diff)
downloadjquery-ui-14756d95d29d3bbc11616a71957faac84ed3bb07.tar.gz
jquery-ui-14756d95d29d3bbc11616a71957faac84ed3bb07.zip
fixed: Problem with YUI compressor cause of wrong named var, thx to Tane, https://github.com/fnagel/jquery-ui/issues/#issue/74
-rw-r--r--ui/jquery.ui.selectmenu.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/jquery.ui.selectmenu.js b/ui/jquery.ui.selectmenu.js
index d1a41fe02..bc875145a 100644
--- a/ui/jquery.ui.selectmenu.js
+++ b/ui/jquery.ui.selectmenu.js
@@ -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) {