fix small annoyance
This commit is contained in:
parent
0535d2c14c
commit
a05fd042df
@ -78,6 +78,8 @@ const Timeline = {
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
handleShortKey (e) {
|
handleShortKey (e) {
|
||||||
|
// Ignore when input fields are focused
|
||||||
|
if (['textarea', 'input'].includes(e.target.tagName.toLowerCase())) return
|
||||||
if (e.key === '.') this.showNewStatuses()
|
if (e.key === '.') this.showNewStatuses()
|
||||||
},
|
},
|
||||||
showNewStatuses () {
|
showNewStatuses () {
|
||||||
|
Loading…
Reference in New Issue
Block a user