diff --git a/src/js/BookReader.js b/src/js/BookReader.js index c8c76a26c..f3ebde7ae 100644 --- a/src/js/BookReader.js +++ b/src/js/BookReader.js @@ -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); };