Skip to content

Commit

Permalink
fix(core): fix page starting number
Browse files Browse the repository at this point in the history
  • Loading branch information
Can Küçükyılmaz committed Mar 9, 2016
1 parent 57bc73e commit 9fb911a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ const onPlayerReady = (player, options) => {
options.perPageInMinutes = options.perPageInMinutes * 60;

// page is natural number convert it to integer
options.perPage = options.perPage - 1;
options.page = options.page - 1;

if (options.start > 0) {
offsetStart = options.start;
Expand Down

0 comments on commit 9fb911a

Please sign in to comment.