Skip to content

Commit 1eff030

Browse files
author
Tomas Kirda
committed
Remove <strong /> tag when formatting group, closes #450
1 parent 21b90eb commit 1eff030

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

content/styles.css

+1-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
.autocomplete-no-suggestion { padding: 2px 5px;}
77
.autocomplete-selected { background: #F0F0F0; }
88
.autocomplete-suggestions strong { font-weight: bold; color: #000; }
9-
.autocomplete-group { padding: 2px 5px; }
10-
.autocomplete-group strong { font-weight: bold; font-size: 16px; color: #000; display: block; border-bottom: 1px solid #000; }
9+
.autocomplete-group { padding: 2px 5px; font-weight: bold; font-size: 16px; color: #000; display: block; border-bottom: 1px solid #000; }
1110

1211
input { font-size: 28px; padding: 10px; border: 1px solid #CCC; display: block; margin: 20px 0; }

src/jquery.autocomplete.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@
151151
};
152152

153153
function _formatGroup(suggestion, category) {
154-
return '<div class="autocomplete-group"><strong>' + category + '</strong></div>';
154+
return '<div class="autocomplete-group">' + category + '</div>';
155155
};
156156

157157
Autocomplete.prototype = {

0 commit comments

Comments
 (0)