We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 42a7ebc commit 77128ccCopy full SHA for 77128cc
src/js/vendor/docsearch.bundle.js
@@ -11,7 +11,7 @@
11
function activateSearch (docsearch, config) {
12
appendStylesheet(config.stylesheet)
13
var baseAlgoliaOptions = {
14
- hitsPerPage: parseInt(config.pageSize) || 20, // cannot exceed the hitsPerPage value defined on the index
+ hitsPerPage: parseInt(config.pageSize, 10) || 20, // cannot exceed the hitsPerPage value defined on the index
15
}
16
var searchField = document.getElementById(config.searchFieldId || 'search')
17
searchField.appendChild(Object.assign(document.createElement('div'), { className: 'algolia-autocomplete-results' }))
0 commit comments