Improve keyboard shortcuts
This commit is contained in:
parent
6ead1de383
commit
8bf4e55338
3 changed files with 10 additions and 8 deletions
|
|
@ -97,10 +97,10 @@ export default Vue.extend({
|
|||
|
||||
watch: {
|
||||
focus(i) {
|
||||
this.$refs.buttons.childNodes[i].focus();
|
||||
this.$refs.buttons.children[i].focus();
|
||||
|
||||
if (this.showFocus) {
|
||||
this.title = this.$refs.buttons.childNodes[i].title;
|
||||
this.title = this.$refs.buttons.children[i].title;
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue