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 35d8921 commit 774d102Copy full SHA for 774d102
src/js/vendor/docsearch.bundle.js
@@ -16,10 +16,16 @@
16
algoliaOptions: { hitsPerPage: parseInt(config.maxResults) || 5 },
17
}).autocomplete
18
var autocomplete = search.autocomplete
19
- search.on('autocomplete:updated', function () {
20
- this.scrollTop = 0
21
- }.bind(autocomplete.getWrapper().firstChild))
22
- search.on('autocomplete:closed', function () {
23
- this.setVal()
24
- }.bind(autocomplete))
+ search.on(
+ 'autocomplete:updated',
+ function () {
+ this.scrollTop = 0
+ }.bind(autocomplete.getWrapper().firstChild)
+ )
25
26
+ 'autocomplete:closed',
27
28
+ this.setVal()
29
+ }.bind(autocomplete)
30
31
})()
0 commit comments