Improve keyboard shortcuts

This commit is contained in:
syuilo
2018-09-18 16:45:20 +09:00
parent 6ead1de383
commit 8bf4e55338
3 changed files with 10 additions and 8 deletions

View File

@ -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;
}
}
},