aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHenry Jameson <me@hjkos.com>2019-06-12 10:56:08 +0300
committerHenry Jameson <me@hjkos.com>2019-06-12 10:56:08 +0300
commita05fd042df9e025b287f342358be6bbd4f0d5018 (patch)
tree4f70e2b315fd16c640d308379638c2594551e6dd /src
parent0535d2c14cda3b490e5904a93afb5cf6dd2b741b (diff)
fix small annoyance
Diffstat (limited to 'src')
-rw-r--r--src/components/timeline/timeline.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/components/timeline/timeline.js b/src/components/timeline/timeline.js
index 19d9a9ac..9dafcbd8 100644
--- a/src/components/timeline/timeline.js
+++ b/src/components/timeline/timeline.js
@@ -78,6 +78,8 @@ const Timeline = {
},
methods: {
handleShortKey (e) {
+ // Ignore when input fields are focused
+ if (['textarea', 'input'].includes(e.target.tagName.toLowerCase())) return
if (e.key === '.') this.showNewStatuses()
},
showNewStatuses () {