forked from AkkomaGang/akkoma-fe
fix small annoyance
This commit is contained in:
parent
0535d2c14c
commit
a05fd042df
1 changed files with 2 additions and 0 deletions
|
@ -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 a new issue