Skip to content

Commit 8118883

Browse files
author
Jonas Metzener
committed
Remove shortcut for focusing the searchbox
1 parent 6af0c3d commit 8118883

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

addon/components/docs-header/search-box/component.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,11 @@ export default Component.extend(EKMixin, {
1515
this.set('keyboardActivated', true);
1616
},
1717

18-
focusSearch: on(keyUp('Slash'), keyUp('KeyS'), function() {
18+
focusSearch: on(keyUp('Slash'), function() {
1919
this.element.querySelector('input').focus();
2020
}),
2121

2222
unfocusSearch: on(keyUp('Escape'), function() {
2323
this.get('on-input')(null);
2424
})
25-
2625
});

0 commit comments

Comments
 (0)