diff --git a/BookReader/BookReader.js b/BookReader/BookReader.js index e79b0b441..20b0da375 100644 --- a/BookReader/BookReader.js +++ b/BookReader/BookReader.js @@ -37,7 +37,7 @@ function BookReader(options) { this.setup(options); } -BookReader.version = "3.0.6"; +BookReader.version = "3.0.7"; // Mode constants BookReader.constMode1up = 1; @@ -225,6 +225,7 @@ BookReader.prototype.setup = function(options) { this.bookUrl = options.bookUrl; this.bookUrlText = options.bookUrlText; this.bookUrlTitle = options.bookUrlTitle; + this.titleLeaf = options.titleLeaf; this.metadata = options.metadata; this.thumbnail = options.thumbnail; diff --git a/CHANGELOG.md b/CHANGELOG.md index 97f0d24b4..8fbd6db81 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +# 3.0.7 +- Fix: Assign options.titleLeaf to this.titleLeaf + # 3.0.6 - Another fix for plugin.search.js. The path GET param should not have a trailing slash. diff --git a/package.json b/package.json index 8fafedfcb..c3cfc36e7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "bookreader", - "version": "3.0.6", + "version": "3.0.7", "description": "The Internet Archive BookReader.", "repository": { "type": "git",