From fbef8e043557ab80bbc9eb2d2a970515d472afe0 Mon Sep 17 00:00:00 2001 From: Shy Date: Sun, 5 May 2024 07:42:20 +0200 Subject: [PATCH] Replaced unnecessary template strings. --- static/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/static/index.js b/static/index.js index 150c666..dfcb014 100644 --- a/static/index.js +++ b/static/index.js @@ -104,10 +104,10 @@ function updateCounter(){ switch(count) { case 0: - document.getElementById('itemcount').textContent = `No items found.`; + document.getElementById('itemcount').textContent = 'No items found.'; break; case 1: - document.getElementById('itemcount').textContent = `${count} item found.`; + document.getElementById('itemcount').textContent = '1 item found.'; break; default: document.getElementById('itemcount').textContent = `${count} items found.`;