2
0
mirror of https://github.com/devbridge/jQuery-Autocomplete.git synced 2024-11-21 20:35:17 +00:00

Remove <strong /> tag when formatting group, closes #450

This commit is contained in:
Tomas Kirda 2017-03-05 19:51:12 -06:00
parent 21b90eb7e6
commit 1eff0300eb
2 changed files with 2 additions and 3 deletions

View File

@ -6,7 +6,6 @@
.autocomplete-no-suggestion { padding: 2px 5px;} .autocomplete-no-suggestion { padding: 2px 5px;}
.autocomplete-selected { background: #F0F0F0; } .autocomplete-selected { background: #F0F0F0; }
.autocomplete-suggestions strong { font-weight: bold; color: #000; } .autocomplete-suggestions strong { font-weight: bold; color: #000; }
.autocomplete-group { padding: 2px 5px; } .autocomplete-group { padding: 2px 5px; font-weight: bold; font-size: 16px; color: #000; display: block; border-bottom: 1px solid #000; }
.autocomplete-group strong { font-weight: bold; font-size: 16px; color: #000; display: block; border-bottom: 1px solid #000; }
input { font-size: 28px; padding: 10px; border: 1px solid #CCC; display: block; margin: 20px 0; } input { font-size: 28px; padding: 10px; border: 1px solid #CCC; display: block; margin: 20px 0; }

View File

@ -151,7 +151,7 @@
}; };
function _formatGroup(suggestion, category) { function _formatGroup(suggestion, category) {
return '<div class="autocomplete-group"><strong>' + category + '</strong></div>'; return '<div class="autocomplete-group">' + category + '</div>';
}; };
Autocomplete.prototype = { Autocomplete.prototype = {