diff options
author | Scott González <scott.gonzalez@gmail.com> | 2012-05-14 21:40:12 -0400 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2012-05-14 21:40:12 -0400 |
commit | 637d102e59b4b8e6bf4f631bdbe8d298e5874f63 (patch) | |
tree | 333d26e11e05b97c8fccd8ff94523f060641ffa5 /demos | |
parent | 0cbfb2ff7060c8c53d6fd4e094f5965ea8667414 (diff) | |
download | jquery-ui-637d102e59b4b8e6bf4f631bdbe8d298e5874f63.tar.gz jquery-ui-637d102e59b4b8e6bf4f631bdbe8d298e5874f63.zip |
Autocomplete combobox demo: Add combobox-specific classes for styling. Fixes #8322 - Autocomplete: Combobox demo should not override .ui-button styles.
(cherry picked from commit 1b19121189356879ca39a19ba241a04ff4786b62)
Conflicts:
demos/autocomplete/combobox.html
Diffstat (limited to 'demos')
-rw-r--r-- | demos/autocomplete/combobox.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/demos/autocomplete/combobox.html b/demos/autocomplete/combobox.html index 693c860d6..3c7876a5d 100644 --- a/demos/autocomplete/combobox.html +++ b/demos/autocomplete/combobox.html @@ -16,7 +16,7 @@ position: relative; display: inline-block; } - .ui-button { + .ui-combobox-toggle { position: absolute; top: 0; bottom: 0; @@ -26,7 +26,7 @@ *height: 1.7em; *top: 0.1em; } - .ui-autocomplete-input { + .ui-combobox-input { margin: 0; padding: 0.3em; } @@ -47,7 +47,7 @@ input = $( "<input>" ) .appendTo( wrapper ) .val( value ) - .addClass( "ui-state-default" ) + .addClass( "ui-state-default ui-combobox-input" ) .autocomplete({ delay: 0, minLength: 0, @@ -114,7 +114,7 @@ text: false }) .removeClass( "ui-corner-all" ) - .addClass( "ui-corner-right ui-button-icon" ) + .addClass( "ui-corner-right ui-combobox-toggle" ) .click(function() { // close if already visible if ( input.autocomplete( "widget" ).is( ":visible" ) ) { |