aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2014-04-24 08:37:38 -0400
committerScott González <scott.gonzalez@gmail.com>2014-04-24 08:38:09 -0400
commit23ea063b3c60af1fcc6bc6c2766d3ff1ffed48be (patch)
tree56d6da38c3f570e2586d843762e889b90a281a8c
parent004d768f3c26f9b332760f11d6eeec7591e51614 (diff)
downloadjquery-ui-23ea063b3c60af1fcc6bc6c2766d3ff1ffed48be.tar.gz
jquery-ui-23ea063b3c60af1fcc6bc6c2766d3ff1ffed48be.zip
Selectmenu: Work around test bug in IE
-rw-r--r--tests/unit/selectmenu/selectmenu_methods.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/selectmenu/selectmenu_methods.js b/tests/unit/selectmenu/selectmenu_methods.js
index 656707011..ca1b8c6a3 100644
--- a/tests/unit/selectmenu/selectmenu_methods.js
+++ b/tests/unit/selectmenu/selectmenu_methods.js
@@ -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" );