Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Wonday committed Oct 10, 2017
2 parents 1a24150 + 98d083f commit 5ea2ea4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ export default class Pdf extends Component {
if (message.length > 0) {
if (message[0] == 'loadComplete') {
this.props.onLoadComplete &&
this.props.onLoadComplete(Number(message[1]))
this.props.onLoadComplete(Number(message[1]), this.state.path)
} else if (message[0] == 'pageChanged') {
this.props.onPageChanged &&
this.props.onPageChanged(Number(message[1]), Number(message[2]))
Expand Down

0 comments on commit 5ea2ea4

Please sign in to comment.