diff --git a/CHANGELOG.md b/CHANGELOG.md index 8062cbdd1..2c30db3f5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,7 +10,8 @@ This release adds the following new features: and fixes the following bugs: * [Fix IE 11 drag board to scroll](https://github.com/wekan/wekan/pull/1052); -* [Fix Export Wekan board](https://github.com/wekan/wekan/pull/1067). +* [Fix Export Wekan board](https://github.com/wekan/wekan/pull/1067); +* [Fix "W" shortcut binding](https://github.com/wekan/wekan/pull/1066). Thanks to GitHub users BaobabCoder, GhassenRjab, nebulade and nztqa for their contributions. diff --git a/client/lib/keyboard.js b/client/lib/keyboard.js index ff18738ba..24955929d 100755 --- a/client/lib/keyboard.js +++ b/client/lib/keyboard.js @@ -6,7 +6,11 @@ Mousetrap.bind('?', () => { }); Mousetrap.bind('w', () => { - Sidebar.toggle(); + if (Sidebar.isOpen() && Sidebar.getView() === 'home') { + Sidebar.toggle(); + } else { + Sidebar.setView(); + } }); Mousetrap.bind('q', () => {