Skip to content

Commit

Permalink
Fix play at start time
Browse files Browse the repository at this point in the history
  • Loading branch information
advplyr committed Mar 6, 2023
1 parent 53c9109 commit 840979d
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions pages/item/_id/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -475,9 +475,12 @@ export default {
this.$store.commit('openReader', this.libraryItem)
},
playAtTimestamp(seconds) {
this.playClick(seconds)
this.play(seconds)
},
async playClick(startTime = null) {
playClick() {
this.play()
},
async play(startTime = null) {
await this.$hapticsImpact()
if (this.isPodcast) {
Expand Down

0 comments on commit 840979d

Please sign in to comment.