Skip to content

Commit

Permalink
Cached playedIndex
Browse files Browse the repository at this point in the history
  • Loading branch information
railsjack committed Aug 10, 2019
1 parent 5a741ca commit da00dd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion player/custom.js
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ document.ready(async (event) => {
tutorialList.bindEvents('change', (e) => {
Helper.setConf('currentTime', 0)
player.play(tutorialList.selectedValue())
Helper.setConf('playedIndex', this.UI.selectedIndex)
Helper.setConf('playedIndex', tutorialList.getIndex())
})

player.bindEvents('onended', (args) => {
Expand Down

0 comments on commit da00dd7

Please sign in to comment.