diff --git a/app/assets/javascripts/discourse/lib/keyboard-shortcuts.js.es6 b/app/assets/javascripts/discourse/lib/keyboard-shortcuts.js.es6 index 7485240c27a..d7ab82cf89e 100644 --- a/app/assets/javascripts/discourse/lib/keyboard-shortcuts.js.es6 +++ b/app/assets/javascripts/discourse/lib/keyboard-shortcuts.js.es6 @@ -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() {