mirror of
https://github.com/futurepress/epub.js.git
synced 2025-10-04 15:09:16 +02:00
add cover to toc
This commit is contained in:
parent
65fbc6d034
commit
78e1c05ab0
5 changed files with 27 additions and 12 deletions
|
@ -146,7 +146,9 @@ FP.app.init = (function($){
|
|||
|
||||
$open.on("click", function(){
|
||||
if($sidebar.hasClass("open")){
|
||||
$sidebar.removeClass("open");
|
||||
setTimeout(function(){
|
||||
$sidebar.removeClass("open");
|
||||
}, 500);
|
||||
$main.removeClass("closed");
|
||||
$icon.attr("src", "img/menu-icon.png");
|
||||
}else{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue