diff --git a/script.js b/script.js index 925a5bd..a7eeb19 100644 --- a/script.js +++ b/script.js @@ -25,6 +25,8 @@ $(document).ready(function () { ` ); + } else { + $("#count").html(""); } $("#count").text(count + " results of " + searchField); });