Update epub reader media progress update

This commit is contained in:
advplyr 2023-03-26 13:50:21 -05:00
parent c90f2c136a
commit d01b602306

View file

@ -172,6 +172,10 @@ export default {
},
/** @param {string} location - CFI of the new location */
relocated(location) {
if (this.userMediaProgress?.ebookLocation === location.start.cfi) {
return
}
if (location.end.percentage) {
this.updateProgress({
ebookLocation: location.start.cfi,