mirror of
https://github.com/futurepress/epub.js.git
synced 2025-10-05 15:32:55 +02:00
fix book path url to handle more options, add music hook
This commit is contained in:
parent
2e2f801384
commit
c99fb584db
9 changed files with 2896 additions and 18 deletions
|
@ -28,7 +28,8 @@ FPR.app.init = (function($){
|
|||
//-- Create a new book object,
|
||||
// this will create an iframe in the el with the ID provided
|
||||
Book = new FP.Book("area");
|
||||
|
||||
|
||||
//Book.single = true;
|
||||
//-- Add listeners to handle book events
|
||||
//-- Full list of event are at start of book.js
|
||||
Book.listen("book:metadataReady", meta);
|
||||
|
@ -174,7 +175,10 @@ FPR.app.init = (function($){
|
|||
$loader = $("#loader");
|
||||
|
||||
$loader.hide();
|
||||
$divider.addClass("show");
|
||||
|
||||
if(!Book.single) {
|
||||
$divider.addClass("show");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue