fix small annoyance

This commit is contained in:
Henry Jameson 2019-06-12 10:56:08 +03:00
parent 0535d2c14c
commit a05fd042df

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