Skip to content

Commit

Permalink
Move event name into events.js internetarchive#460
Browse files Browse the repository at this point in the history
  • Loading branch information
Chaitanya31612 committed Dec 1, 2020
1 parent 3b588d7 commit bd3a09c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/BookReader.js
Original file line number Diff line number Diff line change
Expand Up @@ -1795,7 +1795,7 @@ BookReader.prototype.updateFirstIndex = function(
if (this.options.initialSearchTerm && !suppressFragmentChange) {
this.suppressFragmentChange = false;
}
this.trigger(EVENTS.pageChanged);
this.trigger(BookReader.eventNames.pageChanged);
this.updateNavIndexThrottled(index);
};

Expand Down

0 comments on commit bd3a09c

Please sign in to comment.