fix small annoyance

This commit is contained in:
Henry Jameson 2019-06-12 10:56:08 +03:00
parent 0535d2c14c
commit a05fd042df
1 changed files with 2 additions and 0 deletions

View File

@ -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 () {