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.`;