From d4907ac522065638684bc7224be83f573784d23a Mon Sep 17 00:00:00 2001 From: Patrick Farwick <9168045+MinecraftPlaye@users.noreply.github.com> Date: Wed, 19 Jan 2022 23:04:57 +0000 Subject: [PATCH] Remove the timer from progress saving for epubs --- src/plugins/bookPlayer/plugin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/bookPlayer/plugin.js b/src/plugins/bookPlayer/plugin.js index f6d4b7b4ba..6d85cb25df 100644 --- a/src/plugins/bookPlayer/plugin.js +++ b/src/plugins/bookPlayer/plugin.js @@ -312,7 +312,7 @@ export class BookPlayer { epubElem.style.display = 'block'; rendition.on('relocated', (locations) => { this.progress = book.locations.percentageFromCfi(locations.start.cfi); - Events.trigger(this, 'timeupdate'); + Events.trigger(this, 'pause'); }); loading.hide();