Replaced unnecessary template strings.
All checks were successful
deployment-on-pull-request / deployment (pull_request) Successful in 1m11s

This commit is contained in:
Shy 2024-05-05 07:42:20 +02:00
parent d5f63d5e2c
commit fbef8e0435

View file

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