mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Merge pull request #2734 from cpradio/readd-dismiss-bindings
FIX: Readd the dismiss keybindings
This commit is contained in:
commit
065101afac
@ -32,16 +32,18 @@ Discourse.KeyboardShortcuts = Ember.Object.createWithMixins({
|
|||||||
// star topic
|
// star topic
|
||||||
'f': '#topic-footer-buttons button.star, .topic-list tr.topic-list-item.selected a.star',
|
'f': '#topic-footer-buttons button.star, .topic-list tr.topic-list-item.selected a.star',
|
||||||
|
|
||||||
'm m': 'div.notification-options li[data-id="0"] a', // mark topic as muted
|
'm m': 'div.notification-options li[data-id="0"] a', // mark topic as muted
|
||||||
'm r': 'div.notification-options li[data-id="1"] a', // mark topic as regular
|
'm r': 'div.notification-options li[data-id="1"] a', // mark topic as regular
|
||||||
'm t': 'div.notification-options li[data-id="2"] a', // mark topic as tracking
|
'm t': 'div.notification-options li[data-id="2"] a', // mark topic as tracking
|
||||||
'm w': 'div.notification-options li[data-id="3"] a', // mark topic as watching
|
'm w': 'div.notification-options li[data-id="3"] a', // mark topic as watching
|
||||||
'.': '.alert.alert-info.clickable', // show incoming/updated topics
|
'x r': '#dismiss-new,#dismiss-new-top,#dismiss-posts,#dismiss-posts-top', // dismiss new/posts
|
||||||
'n': '#user-notifications', // open notifications menu
|
'x t': '#dismiss-topics,#dismiss-topics-top', //dismiss topics
|
||||||
'o,enter': '.topic-list tr.selected a.title', // open selected topic
|
'.': '.alert.alert-info.clickable', // show incoming/updated topics
|
||||||
'shift+r': '#topic-footer-buttons button.create', // reply to topic
|
'n': '#user-notifications', // open notifications menu
|
||||||
'shift+s': '#topic-footer-buttons button.share', // share topic
|
'o,enter': '.topic-list tr.selected a.title', // open selected topic
|
||||||
's': '.topic-post.selected a.post-date' // share post
|
'shift+r': '#topic-footer-buttons button.create', // reply to topic
|
||||||
|
'shift+s': '#topic-footer-buttons button.share', // share topic
|
||||||
|
's': '.topic-post.selected a.post-date' // share post
|
||||||
},
|
},
|
||||||
|
|
||||||
FUNCTION_BINDINGS: {
|
FUNCTION_BINDINGS: {
|
||||||
|
Loading…
Reference in New Issue
Block a user