diff --git a/web/src/main/webapp/index.jsp b/web/src/main/webapp/index.jsp index b30d6c16..a93f14d0 100644 --- a/web/src/main/webapp/index.jsp +++ b/web/src/main/webapp/index.jsp @@ -1671,7 +1671,7 @@

Sorry, no results found

-

+

Would you like to extend your search with a wildcard? (e.g. {{term.replaceAll("`","'")}}*)

diff --git a/web/src/main/webapp/js/ctd2.js b/web/src/main/webapp/js/ctd2.js index 1856cd44..c9d224c8 100644 --- a/web/src/main/webapp/js/ctd2.js +++ b/web/src/main/webapp/js/ctd2.js @@ -2396,7 +2396,10 @@ import ObservationView from './observation.view.js' template: _.template($("#search-empty-tmpl").html()), render: function () { $(this.el).append(this.template(this.model)); - + if (this.model.term.endsWith('"')) { + $("#suggesting-wildcard").hide() + $("#suggesting-wildcard").parent().width("100%") + } return this; } });