Skip to content

Commit 96371e9

Browse files
author
rakeshAlgo
committed
Remove console error from docsearch.js
1 parent af83dd6 commit 96371e9

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/js/vendor/docsearch.bundle.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@
1616
algoliaOptions: { hitsPerPage: 25 },
1717
debug: false,
1818
})
19-
document.querySelector('button.search').addEventListener('click', function (e) {
20-
if (document.querySelector('.navbar-start').classList.toggle('reveal-search-input')) {
21-
ds.autocomplete.autocomplete.setVal('')
22-
ds.input.focus()
23-
}
24-
})
19+
// document.querySelector('button.search').addEventListener('click', function (e) {
20+
// if (document.querySelector('.navbar-start').classList.toggle('reveal-search-input')) {
21+
// ds.autocomplete.autocomplete.setVal('')
22+
// ds.input.focus()
23+
// }
24+
// })
2525
})
2626
})()

0 commit comments

Comments
 (0)