Replaced unnecessary template strings.
This commit is contained in:
parent
44ced92ef5
commit
4deb81600e
1 changed files with 2 additions and 2 deletions
|
@ -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.`;
|
||||
|
|
Loading…
Reference in a new issue