Skip to content

Commit 774d102

Browse files
committed
format source
1 parent 35d8921 commit 774d102

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

src/js/vendor/docsearch.bundle.js

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,16 @@
1616
algoliaOptions: { hitsPerPage: parseInt(config.maxResults) || 5 },
1717
}).autocomplete
1818
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))
19+
search.on(
20+
'autocomplete:updated',
21+
function () {
22+
this.scrollTop = 0
23+
}.bind(autocomplete.getWrapper().firstChild)
24+
)
25+
search.on(
26+
'autocomplete:closed',
27+
function () {
28+
this.setVal()
29+
}.bind(autocomplete)
30+
)
2531
})()

0 commit comments

Comments
 (0)