File tree Expand file tree Collapse file tree 1 file changed +1
-10
lines changed Expand file tree Collapse file tree 1 file changed +1
-10
lines changed Original file line number Diff line number Diff line change @@ -46,9 +46,6 @@ $.widget("ui.selectmenu", {
46
46
// define safe mouseup for future toggling
47
47
this . _safemouseup = true ;
48
48
49
- // FIXME temp workaround for IE
50
- if ( $ . browser . msie ) o . typeAhead = "" ;
51
-
52
49
// create menu button wrapper
53
50
this . newelement = $ ( '<a class="' + this . widgetBaseClass + ' ui-widget ui-state-default ui-corner-all" id="' + this . ids [ 0 ] + '" role="button" href="#" tabindex="0" aria-haspopup="true" aria-owns="' + this . ids [ 1 ] + '"></a>' )
54
51
. insertAfter ( this . element ) ;
@@ -451,16 +448,10 @@ $.widget("ui.selectmenu", {
451
448
}
452
449
}
453
450
} ) ;
454
-
455
- // if we didnt find it clear the prevChar
456
- // if (!focusFound) {
457
- //self._prevChar = undefined
458
- // }
459
-
460
451
// set a 1 second timeout for sequenctial typeahead
461
452
// keep this set even if we have no matches so it doesnt typeahead somewhere else
462
453
window . setTimeout ( function ( el ) {
463
- el . _prevChar = undefined ;
454
+ self . _prevChar = undefined ;
464
455
} , 1000 , self ) ;
465
456
466
457
} else {
You can’t perform that action at this time.
0 commit comments