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 6af0c3d commit 8118883Copy full SHA for 8118883
addon/components/docs-header/search-box/component.js
@@ -15,12 +15,11 @@ export default Component.extend(EKMixin, {
15
this.set('keyboardActivated', true);
16
},
17
18
- focusSearch: on(keyUp('Slash'), keyUp('KeyS'), function() {
+ focusSearch: on(keyUp('Slash'), function() {
19
this.element.querySelector('input').focus();
20
}),
21
22
unfocusSearch: on(keyUp('Escape'), function() {
23
this.get('on-input')(null);
24
})
25
-
26
});
0 commit comments