Skip to content
Permalink
Browse files
8254893: Fix display of search tag results without holder information
Reviewed-by: jjg
  • Loading branch information
hns committed Nov 27, 2020
1 parent 20525d2 commit 78fdb65dcf61c28c9acb69de7199023f13405639
Showing 1 changed file with 1 addition and 1 deletion.
@@ -161,7 +161,7 @@ $.widget("custom.catcomplete", $.ui.autocomplete, {
}
var li = $("<li/>").appendTo(ul);
var div = $("<div/>").appendTo(li);
if (item.category === catSearchTags) {
if (item.category === catSearchTags && item.h) {
if (item.d) {
div.html(label + "<span class=\"search-tag-holder-result\"> (" + item.h + ")</span><br><span class=\"search-tag-desc-result\">"
+ item.d + "</span><br>");

1 comment on commit 78fdb65

@openjdk-notifier
Copy link

@openjdk-notifier openjdk-notifier bot commented on 78fdb65 Nov 27, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.