diff options
author | Richard Worth <rdworth@gmail.com> | 2010-03-17 13:16:40 +0000 |
---|---|---|
committer | Richard Worth <rdworth@gmail.com> | 2010-03-17 13:16:40 +0000 |
commit | 92fe5e922538942427045d055ddf2607e9122ea8 (patch) | |
tree | 36e874ef3248798c1162126e9fb6ef1013f59d3a /tests | |
parent | 2a8271c7016be902aed15cd2ccadc23164159a8d (diff) | |
download | jquery-ui-92fe5e922538942427045d055ddf2607e9122ea8.tar.gz jquery-ui-92fe5e922538942427045d055ddf2607e9122ea8.zip |
Fixed #5362 - Buttonset class should be ui-buttonset because buttonset is one word
Diffstat (limited to 'tests')
-rw-r--r-- | tests/static/button/default.html | 2 | ||||
-rw-r--r-- | tests/unit/button/button_core.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/static/button/default.html b/tests/static/button/default.html index aa78b3466..a2c35a4ad 100644 --- a/tests/static/button/default.html +++ b/tests/static/button/default.html @@ -110,7 +110,7 @@ <h2>Button Sets</h2> - <div class="ui-button-set"> + <div class="ui-buttonset"> <button class="ui-button ui-button-text-only ui-widget ui-state-default ui-corner-left"><span class="ui-button-text">Simple button</span></button> <button class="ui-button ui-button-text-only ui-widget ui-state-default"><span class="ui-button-text">Simple button</span></button> <button class="ui-button ui-button-text-only ui-widget ui-state-default ui-corner-right"><span class="ui-button-text">Simple button</span></button> diff --git a/tests/unit/button/button_core.js b/tests/unit/button/button_core.js index 4569737a4..5b30aa860 100644 --- a/tests/unit/button/button_core.js +++ b/tests/unit/button/button_core.js @@ -59,7 +59,7 @@ test("input type submit, don't create child elements", function() { test("buttonset", function() { var set = $("#radio1").buttonset(); - ok( set.is(".ui-button-set") ); + ok( set.is(".ui-buttonset") ); same( set.children(".ui-button").length, 3 ); same( set.children("input:radio.ui-helper-hidden-accessible").length, 3 ); ok( set.children("label:eq(0)").is(".ui-button.ui-corner-left:not(.ui-corner-all)") ); |