Skip to content

Commit

Permalink
Capitalize 'b' in 'Books' in search drop-down
Browse files Browse the repository at this point in the history
  • Loading branch information
Ian committed Sep 29, 2023
1 parent 80df229 commit 51bbd32
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions prisma/prisma-cloud/blocks/search-bar/search-bar.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,11 +105,11 @@ export class SearchBar extends HTMLElement {
if (!booknameMeta) {
this.querySelector('.coveo-dropdown-item.selected').classList.remove('selected');
docSetOption.classList.add('selected');
this.querySelector('.dropbtn').textContent = `All ${productMeta} books`;
this.querySelector('.dropbtn').textContent = `All ${productMeta} Books`;
}
docSetOption.setAttribute('data-label', `All ${productMeta} books`);
docSetOption.setAttribute('data-label', `All ${productMeta} Books`);
docSetOption.setAttribute('data-value', `@td_docsetid==("${docsetMeta}")`);
docSetOption.append(`All ${productMeta} books`);
docSetOption.append(`All ${productMeta} Books`);
appendDropdown.prepend(docSetOption);
}
if (booknameMeta) {
Expand Down

0 comments on commit 51bbd32

Please sign in to comment.