diff options
author | Alexander Schmitz <arschmitz@gmail.com> | 2016-03-30 11:38:34 -0400 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2016-03-30 11:53:28 -0400 |
commit | bff8277fbc885bf2dc0461ac706d2f2bb7035ad6 (patch) | |
tree | c037803096190ced1cd806a15580dc2de94847c7 /tests | |
parent | bf5d6f314b3798094efdca4b73e09233f2a69d7d (diff) | |
download | jquery-ui-bff8277fbc885bf2dc0461ac706d2f2bb7035ad6.tar.gz jquery-ui-bff8277fbc885bf2dc0461ac706d2f2bb7035ad6.zip |
Selectmenu: Prepend icon and move overflow to text span
Fixes #14938
Closes gh-1685
Diffstat (limited to 'tests')
-rw-r--r-- | tests/unit/selectmenu/core.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/selectmenu/core.js b/tests/unit/selectmenu/core.js index 3c2b4936d..5fd47d7f1 100644 --- a/tests/unit/selectmenu/core.js +++ b/tests/unit/selectmenu/core.js @@ -21,7 +21,7 @@ test( "markup structure", function( assert ) { assert.lacksClasses( button, "ui-selectmenu-button-open ui-selectmenu-open" ); assert.hasClasses( menuWrap, "ui-selectmenu-menu" ); assert.lacksClasses( menuWrap, "ui-selectmenu-menu-open" ); - assert.strictEqual( icon[ 0 ], button.children().last()[ 0 ], "Icon is last child of button" ); + assert.strictEqual( icon[ 0 ], button.children()[ 0 ], "Icon is first child of button" ); } ); asyncTest( "accessibility", function() { |