Skip to content

Commit 23a43dd

Browse files
committed
bind key up to menu instead of container in search script [skip ci]
1 parent d3c5dab commit 23a43dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/js/vendor/docsearch.bundle.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@
144144

145145
function monitorCtrlKey () {
146146
this.$input.on('keydown', onCtrlKeyDown.bind(this))
147-
this.dropdown.$container.on('keyup', onCtrlKeyUp.bind(this))
147+
this.dropdown.$menu.on('keyup', onCtrlKeyUp.bind(this))
148148
}
149149

150150
function onCtrlKeyDown (e) {

0 commit comments

Comments
 (0)