Skip to content

Commit

Permalink
v3.0.5
Browse files Browse the repository at this point in the history
Fixes issue where search results were not rendered on page flip.
  • Loading branch information
rchrd2 committed Mar 8, 2018
1 parent 0e9ab69 commit 216ada4
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
6 changes: 3 additions & 3 deletions BookReader/BookReader.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ function BookReader(options) {
this.setup(options);
}

BookReader.version = "3.0.4";
BookReader.version = "3.0.5";

// Mode constants
BookReader.constMode1up = 1;
Expand Down Expand Up @@ -2493,7 +2493,7 @@ BookReader.prototype.flipLeftToRight = function(newIndexL, newIndexR) {
self.prefetch();
self.animating = false;

if (this.enableSearch) self.updateSearchHilites2UP();
if (self.enableSearch) self.updateSearchHilites2UP();
self.updatePageNumBox2UP();

self.setMouseHandlers2UP();
Expand Down Expand Up @@ -2622,7 +2622,7 @@ BookReader.prototype.flipRightToLeft = function(newIndexL, newIndexR) {
self.animating = false;


if (this.enableSearch) self.updateSearchHilites2UP();
if (self.enableSearch) self.updateSearchHilites2UP();
self.updatePageNumBox2UP();

self.setMouseHandlers2UP();
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# 3.0.5
- Hotfix for plugin.search.js. Fixes issue where search results were not rendered on page flip.

# 3.0.4
- Hotfix for plugin.search.js. Fixes fulltext search for some books on Archive.org

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bookreader",
"version": "3.0.4",
"version": "3.0.5",
"description": "The Internet Archive BookReader.",
"repository": {
"type": "git",
Expand Down

0 comments on commit 216ada4

Please sign in to comment.