diff options
author | Scott González <scott.gonzalez@gmail.com> | 2011-05-27 08:32:48 -0400 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2011-05-27 08:32:48 -0400 |
commit | be7da0239a5dbcd1a1458a5b642dc366fe626efe (patch) | |
tree | 67e768e25d010442f05b784c8b5e047d888d99ab /demos/autocomplete/combobox.html | |
parent | 09e88d6220af2f90197c826ac3a31a0ca97f2c8f (diff) | |
download | jquery-ui-be7da0239a5dbcd1a1458a5b642dc366fe626efe.tar.gz jquery-ui-be7da0239a5dbcd1a1458a5b642dc366fe626efe.zip |
Autocomplete demos: Coding standards.
Diffstat (limited to 'demos/autocomplete/combobox.html')
-rw-r--r-- | demos/autocomplete/combobox.html | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/demos/autocomplete/combobox.html b/demos/autocomplete/combobox.html index 5fb3ffef9..b228c1cbb 100644 --- a/demos/autocomplete/combobox.html +++ b/demos/autocomplete/combobox.html @@ -14,9 +14,16 @@ <script src="../../ui/jquery.ui.tooltip.js"></script> <link rel="stylesheet" href="../demos.css"> <style> - .ui-button { margin-left: -1px; } - .ui-button-icon-only .ui-button-text { padding: 0.35em; } - .ui-autocomplete-input { margin: 0; padding: 0.4em 0 0.4em 0.45em; } + .ui-button { + margin-left: -1px; + } + .ui-button-icon-only .ui-button-text { + padding: 0.35em; + } + .ui-autocomplete-input { + margin: 0; + padding: 0.4em 0 0.4em 0.45em; + } </style> <script> (function( $ ) { @@ -90,7 +97,7 @@ .addClass( "ui-widget ui-widget-content ui-corner-left" ); input.data( "autocomplete" )._renderItem = function( ul, item ) { - return $( "<li></li>" ) + return $( "<li>" ) .data( "item.autocomplete", item ) .append( "<a>" + item.label + "</a>" ) .appendTo( ul ); |