Skip to content

Commit 3fa284f

Browse files
committed
format search script [skip ci]
1 parent 1a2acea commit 3fa284f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/js/vendor/docsearch.bundle.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -124,9 +124,7 @@
124124

125125
function onSuggestionMouseDown (e) {
126126
var dropdown = this
127-
var suggestion = dropdown
128-
._getSuggestions()
129-
.filter('#' + e.currentTarget.id)
127+
var suggestion = dropdown._getSuggestions().filter('#' + e.currentTarget.id)
130128
if (suggestion.attr('id') === dropdown._getCursor().attr('id')) return
131129
dropdown._removeCursor()
132130
setTimeout(function () {

0 commit comments

Comments
 (0)