Fix: hotkeys prevent default browser behavior #135, Fix: mark audiobook as read when less than 10s remaining

This commit is contained in:
advplyr 2021-10-24 14:02:49 -05:00
parent aca88f73ad
commit 874c910e24
9 changed files with 69 additions and 39 deletions

View file

@ -218,9 +218,9 @@ export default {
}
},
hotkey(action) {
if (action === 'ArrowRight') {
if (action === this.$hotkeys.Modal.NEXT_PAGE) {
this.goNextBook()
} else if (action === 'ArrowLeft') {
} else if (action === this.$hotkeys.Modal.PREV_PAGE) {
this.goPrevBook()
}
},