diff options
author | Joram Wilander <jwawilander@gmail.com> | 2017-08-10 12:40:44 -0400 |
---|---|---|
committer | Saturnino Abril <saturnino.abril@gmail.com> | 2017-08-11 00:40:44 +0800 |
commit | 5f823d703dafcc0a9ed80452e9d5dcf4a00a1219 (patch) | |
tree | acddf92a65ba866eaeeaa997f2c9d4c4ea99e7f3 /webapp/components/view_image.jsx | |
parent | 70157ef0e3bc0e8d6cc96ae41acdd204353d2269 (diff) | |
download | chat-5f823d703dafcc0a9ed80452e9d5dcf4a00a1219.tar.gz chat-5f823d703dafcc0a9ed80452e9d5dcf4a00a1219.tar.bz2 chat-5f823d703dafcc0a9ed80452e9d5dcf4a00a1219.zip |
Fix arrow keys when viewing images (#7161)
Diffstat (limited to 'webapp/components/view_image.jsx')
-rw-r--r-- | webapp/components/view_image.jsx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/webapp/components/view_image.jsx b/webapp/components/view_image.jsx index 4350711fc..7872867f3 100644 --- a/webapp/components/view_image.jsx +++ b/webapp/components/view_image.jsx @@ -11,7 +11,8 @@ import * as GlobalActions from 'actions/global_actions.jsx'; import * as FileUtils from 'utils/file_utils'; import * as Utils from 'utils/utils.jsx'; -import {KeyCodes} from 'utils/constants.jsx'; +import Constants from 'utils/constants.jsx'; +const KeyCodes = Constants.KeyCodes; import {getFileUrl, getFilePreviewUrl} from 'mattermost-redux/utils/file_utils'; |