Skip to content
This repository has been archived by the owner. It is now read-only.
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 with 1 addition and 1 deletion.
  1. +1 −1 src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/resources/search.js
@@ -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>");

0 comments on commit 78fdb65

Please sign in to comment.