diff options
author | Saturnino Abril <saturnino.abril@gmail.com> | 2017-07-23 14:42:04 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-23 14:42:04 +0800 |
commit | b27d51d512bbb73fb322d5613dafa299843f05b9 (patch) | |
tree | 3734285b9def9d9e1bf60b78de3e04d39a2975b9 /webapp | |
parent | 58c6a70d3e225fcc423d4f0ee9316150e097b2c2 (diff) | |
download | chat-b27d51d512bbb73fb322d5613dafa299843f05b9.tar.gz chat-b27d51d512bbb73fb322d5613dafa299843f05b9.tar.bz2 chat-b27d51d512bbb73fb322d5613dafa299843f05b9.zip |
[PLT-7051] Fix hide/show for CMD/CTRL + Shift + A keyboard shortcut (#6979)
* fix hide/show for CMD/CTRL + Shift + A keyboard shortcut
* simplify setting value of show
Diffstat (limited to 'webapp')
-rw-r--r-- | webapp/components/user_settings/user_settings_modal.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webapp/components/user_settings/user_settings_modal.jsx b/webapp/components/user_settings/user_settings_modal.jsx index bbb4d37f4..665dbed68 100644 --- a/webapp/components/user_settings/user_settings_modal.jsx +++ b/webapp/components/user_settings/user_settings_modal.jsx @@ -114,7 +114,7 @@ class UserSettingsModal extends React.Component { handleKeyDown(e) { if (Utils.cmdOrCtrlPressed(e) && e.shiftKey && e.keyCode === Constants.KeyCodes.A) { this.setState({ - show: true + show: !this.state.show }); } } |