mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08:00
FEATURE: allow ctrl+shift+s to open search
This commit is contained in:
parent
dc4d5677eb
commit
889b99552a
4 changed files with 5 additions and 4 deletions
|
@ -236,7 +236,7 @@ export default Ember.Component.extend({
|
|||
const shortcuts = this.get('toolbar.shortcuts');
|
||||
|
||||
// for some reason I am having trouble bubbling this so hack it in
|
||||
mouseTrap.bind(['ctrl+/','command+/'], (event) =>{
|
||||
mouseTrap.bind(['ctrl+shift+s','command+shift+s'], (event) =>{
|
||||
this.appEvents.trigger('header:keyboard-trigger', {type: 'search', event});
|
||||
return true;
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue