Skip to content

Commit

Permalink
Revert KAD-4076
Browse files Browse the repository at this point in the history
  • Loading branch information
oakesjosh committed Jan 31, 2025
1 parent d523373 commit 248af76
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion includes/assets/js/kb-search.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions src/assets/js/kb-search.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@
window.kadenceSearchBlock = {
cache: {},
initSearch() {
window.kadenceSearchBlock.cache = document.querySelectorAll('.kb-search-form');
window.kadenceSearchBlock.cache = document.querySelectorAll('.kb-search-modal-container');
if (!window.kadenceSearchBlock.cache.length) {
console.log('No search block found');
return;
}

Expand Down

0 comments on commit 248af76

Please sign in to comment.