Remove keydown event listener in epub reader

This commit is contained in:
advplyr 2023-03-26 13:40:47 -05:00
parent e248b6d8d8
commit 916fd039ca

View File

@ -213,7 +213,6 @@ export default {
// set up event listeners
reader.rendition.on('relocated', reader.relocated)
reader.rendition.on('keydown', reader.keyUp)
document.addEventListener('keydown', reader.keyUp, false)
// load ebook cfi locations
const savedLocations = this.loadLocations()