mirror of
https://github.com/discourse/discourse.git
synced 2025-05-31 13:37:16 +08:00
FIX: Keyboard shortcuts for menu panels were broken
This commit is contained in:
@ -169,16 +169,15 @@ export default {
|
||||
},
|
||||
|
||||
showSearch() {
|
||||
this.container.lookup('controller:header').send('toggleSearchMenu');
|
||||
this.container.lookup('controller:header').toggleProperty('searchVisible');
|
||||
},
|
||||
|
||||
toggleHamburgerMenu() {
|
||||
this.container.lookup('controller:header').send('toggleHamburgerMenu');
|
||||
this.container.lookup('controller:header').toggleProperty('hamburgerVisible');
|
||||
},
|
||||
|
||||
showCurrentUser() {
|
||||
$('#current-user').click();
|
||||
$('#user-dropdown a:first').focus();
|
||||
this.container.lookup('controller:header').toggleProperty('userMenuVisible');
|
||||
},
|
||||
|
||||
showHelpModal() {
|
||||
|
Reference in New Issue
Block a user