FEATURE: CTRL+F is useless, use our search instead

This commit is contained in:
Sam 2014-06-02 11:21:00 +10:00
parent 2dc50ced4c
commit 0625465e4a
1 changed files with 3 additions and 1 deletions

View File

@ -36,7 +36,7 @@ Discourse.KeyboardShortcuts = Ember.Object.createWithMixins({
'r': '.topic-post.selected button.create', // reply to selected post 'r': '.topic-post.selected button.create', // reply to selected post
'shift+s': '#topic-footer-buttons button.share', // share topic 'shift+s': '#topic-footer-buttons button.share', // share topic
's': '.topic-post.selected button.share', // share selected post 's': '.topic-post.selected button.share', // share selected post
'!': '.topic-post.selected button.flag' // flag selected post '!': '.topic-post.selected button.flag' // flag selected post
}, },
FUNCTION_BINDINGS: { FUNCTION_BINDINGS: {
@ -48,6 +48,8 @@ Discourse.KeyboardShortcuts = Ember.Object.createWithMixins({
'`': 'nextSection', '`': 'nextSection',
'~': 'prevSection', '~': 'prevSection',
'/': 'showSearch', '/': 'showSearch',
'ctrl+f': 'showSearch',
'command+f': 'showSearch',
'?': 'showHelpModal', // open keyboard shortcut help '?': 'showHelpModal', // open keyboard shortcut help
'q': 'quoteReply' 'q': 'quoteReply'
}, },