FIX: Keyboard shortcuts for menu panels were broken

This commit is contained in:
Robin Ward 2015-08-29 10:43:28 -04:00
parent 5336677be7
commit 879f9648d2
1 changed files with 3 additions and 4 deletions

View File

@ -169,16 +169,15 @@ export default {
}, },
showSearch() { showSearch() {
this.container.lookup('controller:header').send('toggleSearchMenu'); this.container.lookup('controller:header').toggleProperty('searchVisible');
}, },
toggleHamburgerMenu() { toggleHamburgerMenu() {
this.container.lookup('controller:header').send('toggleHamburgerMenu'); this.container.lookup('controller:header').toggleProperty('hamburgerVisible');
}, },
showCurrentUser() { showCurrentUser() {
$('#current-user').click(); this.container.lookup('controller:header').toggleProperty('userMenuVisible');
$('#user-dropdown a:first').focus();
}, },
showHelpModal() { showHelpModal() {