2
0
Fork 0
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:
Sam 2017-08-17 12:57:08 -04:00
parent dc4d5677eb
commit 889b99552a
4 changed files with 5 additions and 4 deletions

View file

@ -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;
});