From 05aae151826377fd385b844f16f926bf943e2b9b Mon Sep 17 00:00:00 2001 From: Vivek Teega Date: Mon, 19 Oct 2020 05:05:58 +0530 Subject: [PATCH] Update voter count --- index.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index a8d79ce..deb0359 100644 --- a/index.html +++ b/index.html @@ -21148,7 +21148,9 @@ } } - document.getElementById('article-vote').innerText = voterCount + if (voterCount > 0) { + document.getElementById('article-vote').innerText = voterCount + } }); }).catch(error => console.error(error))