()
| 19512 | } |
| 19513 | }); |
| 19514 | |
| 19515 | // Function to update sort indicator |
| 19516 | designerHeader.updateSortIndicator = function(currentSort) { |
| 19517 | if (currentSort === 'designer-asc' || currentSort === 'designer-desc') { |
| 19518 | designerHeader.classList.add('sort-active'); |
| 19519 | designerHeader.style.color = '#fff'; |
| 19520 | designerSortIndicator.style.opacity = '1'; |
| 19521 | |
| 19522 | if (currentSort === 'designer-asc') { |
| 19523 | designerSortIndicator.innerHTML = '↑'; |
no test coverage detected