mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Selectmenu: Work around test bug in IE
This commit is contained in:
parent
004d768f3c
commit
23ea063b3c
@ -90,7 +90,7 @@ asyncTest( "refresh - change selected option", function() {
|
||||
"button text after changing selected option" );
|
||||
|
||||
element.find( "option" ).prop( "selected", false );
|
||||
element.prepend( "<option selected value=\"selected_option\">Selected option</option>" );
|
||||
element.append( "<option selected value=\"selected_option\">Selected option</option>" );
|
||||
element.selectmenu( "refresh" );
|
||||
equal( "Selected option", button.text(), "button text after adding selected option" );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user