From 91e631e29937e14b6c823cd08f99b47723698f33 Mon Sep 17 00:00:00 2001 From: daffainfo Date: Tue, 28 Dec 2021 18:06:48 +0700 Subject: [PATCH] Remove duplicate output --- script.js | 2 ++ 1 file changed, 2 insertions(+) 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); });