We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4ae140d commit 86efeedCopy full SHA for 86efeed
1 file changed
assets/js/voidsearch.js
@@ -116,6 +116,7 @@
116
117
table.children().remove();
118
if (packages.length == 0) {
119
+ table.append(noResultsNotice());
120
return;
121
}
122
table.append(
@@ -205,6 +206,17 @@
205
206
);
207
208
209
+ function noResultsNotice() {
210
+ let notice = $("<tr>");
211
+ return notice.append(
212
+ $("<td>")
213
+ .addClass("noresults")
214
+ .attr("colspan", packageColumns.length)
215
+ .attr("style", "font-weight:bold; padding-top: 10pt")
216
+ .text("No results found.")
217
+ );
218
+ }
219
+
220
// Start
221
init();
222
}(jQuery, window, document));
0 commit comments