Skip to content

Commit

Permalink
Changed parameter from view to view.contents
Browse files Browse the repository at this point in the history
  • Loading branch information
Eugen committed Dec 13, 2018
1 parent c9846f5 commit 139a652
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rendition.js
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@ class Rendition {
*/
afterDisplayed(view){

view.on(EVENTS.VIEWS.MARK_CLICKED, (cfiRange, data) => this.triggerMarkEvent(cfiRange, data, view));
view.on(EVENTS.VIEWS.MARK_CLICKED, (cfiRange, data) => this.triggerMarkEvent(cfiRange, data, view.contents));

this.hooks.render.trigger(view, this)
.then(() => {
Expand Down

0 comments on commit 139a652

Please sign in to comment.