Skip to content

Commit

Permalink
fix: previous
Browse files Browse the repository at this point in the history
  • Loading branch information
pushpush committed Aug 30, 2023
1 parent 3320288 commit 899ea4b
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion dist/player.js
Original file line number Diff line number Diff line change
Expand Up @@ -945,7 +945,7 @@ var Player = /*#__PURE__*/function (_Component) {
return Promise.reject(null);
}

return _this.player.next();
return _this.player.previous();
};

_this.handleEventReady = function (_ref) {
Expand Down
2 changes: 1 addition & 1 deletion dist/player.modern.js
Original file line number Diff line number Diff line change
Expand Up @@ -840,7 +840,7 @@ class Player extends Component {
return Promise.reject(null);
}

return this.player.next();
return this.player.previous();
};

this.handleEventReady = ({
Expand Down
2 changes: 1 addition & 1 deletion dist/player.module.js
Original file line number Diff line number Diff line change
Expand Up @@ -941,7 +941,7 @@ var Player = /*#__PURE__*/function (_Component) {
return Promise.reject(null);
}

return _this.player.next();
return _this.player.previous();
};

_this.handleEventReady = function (_ref) {
Expand Down
2 changes: 1 addition & 1 deletion dist/player.umd.js
Original file line number Diff line number Diff line change
Expand Up @@ -948,7 +948,7 @@
return Promise.reject(null);
}

return _this.player.next();
return _this.player.previous();
};

_this.handleEventReady = function (_ref) {
Expand Down
2 changes: 1 addition & 1 deletion src/player.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -736,7 +736,7 @@ class Player extends Component<PlayerPropsTypes> {
if (!this.player) {
return Promise.reject(null);
}
return this.player.next();
return this.player.previous();
};

private handleEventReady = ({data}) => {
Expand Down

0 comments on commit 899ea4b

Please sign in to comment.