diff --git a/extensions/vertx-http/deployment/src/main/resources/dev-templates/io.quarkus.quarkus-vertx-http/config.html b/extensions/vertx-http/deployment/src/main/resources/dev-templates/io.quarkus.quarkus-vertx-http/config.html index 780ccc1123fdb..82edfa41d0ea3 100644 --- a/extensions/vertx-http/deployment/src/main/resources/dev-templates/io.quarkus.quarkus-vertx-http/config.html +++ b/extensions/vertx-http/deployment/src/main/resources/dev-templates/io.quarkus.quarkus-vertx-http/config.html @@ -38,9 +38,7 @@ $("#filterInput").on("keyup", function() { var value = $(this).val().toLowerCase(); $(".configTable tr").filter(function() { - if($(this).is(":visible")){ - $(this).toggle($(this).text().toLowerCase().indexOf(value) > -1); - } + $(this).toggle($(this).text().toLowerCase().indexOf(value) > -1); }); hideEmptyTables(); }); @@ -61,10 +59,8 @@ function clearFilterInput(){ $("#filterInput").val(""); - $(".configTable tr").filter(function() { - if($(this).is(":visible")){ - $(this).toggle($(this).text().toLowerCase().indexOf("") > -1) - } + $(".configTable tr").each(function() { + $(this).toggle(true) }); hideEmptyTables(); }