diff options
author | Kris Borchers <kris.borchers@gmail.com> | 2013-09-17 23:22:33 -0500 |
---|---|---|
committer | Kris Borchers <kris.borchers@gmail.com> | 2013-10-05 21:52:30 -0500 |
commit | 3a61627a501cb7ba1ce80046bfabbff0f7f2f517 (patch) | |
tree | c52dcac93224fb2258633f481533318376d8c698 /tests/unit/menu/menu_methods.js | |
parent | e14f75ed480e5b036bb47ab3398d1e0df28a128a (diff) | |
download | jquery-ui-3a61627a501cb7ba1ce80046bfabbff0f7f2f517.tar.gz jquery-ui-3a61627a501cb7ba1ce80046bfabbff0f7f2f517.zip |
Menu: Remove the requirement to use anchors in menu items
Diffstat (limited to 'tests/unit/menu/menu_methods.js')
-rw-r--r-- | tests/unit/menu/menu_methods.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/menu/menu_methods.js b/tests/unit/menu/menu_methods.js index 51d772972..5a633998d 100644 --- a/tests/unit/menu/menu_methods.js +++ b/tests/unit/menu/menu_methods.js @@ -73,11 +73,11 @@ test( "refresh icons (see #9377)", function() { expect( 3 ); var element = $( "#menu1" ).menu(); ok( !element.hasClass( "ui-menu-icons") ); - element.find( "li:first a" ).html( "<span class='ui-icon ui-icon-disk'></span>Save</a>" ); + element.find( "li:first" ).html( "<span class='ui-icon ui-icon-disk'></span>Save</a>" ); element.menu( "refresh" ); ok( element.hasClass( "ui-menu-icons" ) ); - element.find( "li:first a" ).html( "Save" ); + element.find( "li:first" ).html( "Save" ); element.menu( "refresh" ); ok( !element.hasClass( "ui-menu-icons" ) ); }); |