mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-11-28 03:12:43 +01:00
Fix: hotkeys prevent default browser behavior #135, Fix: mark audiobook as read when less than 10s remaining
This commit is contained in:
1 parent
aca88f73ad
commit
874c910e24
9 files changed
+69
-39
No files matched your search
@@ -88,7 +88,8 @@ class Stream extends EventEmitter {
|
||||
|
||||
get clientProgress() {
|
||||
if (!this.clientCurrentTime) return 0
|
||||
return Number((this.clientCurrentTime / this.totalDuration).toFixed(3))
|
||||
var prog = Math.max(1, this.clientCurrentTime / this.totalDuration)
|
||||
return Number(prog.toFixed(3))
|
||||
}
|
||||
|
||||
toJSON() {
|
||||
|
||||
Reference in new issue
Block a user