mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-30 19:08:10 -05:00
FIX: Keyboard shortcuts for menu panels were broken
This commit is contained in:
parent
5336677be7
commit
879f9648d2
1 changed files with 3 additions and 4 deletions
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue