Skip to content

Commit

Permalink
KAD-4076 update selector to find search block
Browse files Browse the repository at this point in the history
  • Loading branch information
gilbert-hernandez committed Jan 29, 2025
1 parent 64b7c88 commit f0541fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/assets/js/kb-search.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
window.kadenceSearchBlock = {
cache: {},
initSearch() {
window.kadenceSearchBlock.cache = document.querySelectorAll('.kb-search-modal-container');
window.kadenceSearchBlock.cache = document.querySelectorAll('.kb-search-form');
if (!window.kadenceSearchBlock.cache.length) {
console.log('No search block found');
return;
Expand Down

0 comments on commit f0541fd

Please sign in to comment.