Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Autocomplete combobox demo: Add combobox-specific classes for styling…

…. Fixes #8322 - Autocomplete: Combobox demo should not override .ui-button styles.

(cherry picked from commit 1b19121)

Conflicts:

	demos/autocomplete/combobox.html
  • Loading branch information...
commit 637d102e59b4b8e6bf4f631bdbe8d298e5874f63 1 parent 0cbfb2f
@scottgonzalez scottgonzalez authored
Showing with 4 additions and 4 deletions.
  1. +4 −4 demos/autocomplete/combobox.html
View
8 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" ) ) {
Please sign in to comment.
Something went wrong with that request. Please try again.