mirror of
https://github.com/futurepress/epub.js.git
synced 2025-10-04 15:09:16 +02:00
small fixes
This commit is contained in:
parent
f1da229989
commit
4c5235162e
5 changed files with 21 additions and 16 deletions
|
@ -222,7 +222,7 @@ FPR.app.init = (function($){
|
|||
});
|
||||
|
||||
function showSidebar(){
|
||||
$book.css("pointer-events", "none"); //-- Avoid capture by ifrmae
|
||||
//$book.css("pointer-events", "none"); //-- Avoid capture by ifrmae
|
||||
$sidebar.addClass("open");
|
||||
$main.addClass("closed");
|
||||
$icon.attr("src", "img/close.png");
|
||||
|
@ -241,9 +241,9 @@ FPR.app.init = (function($){
|
|||
}else{
|
||||
showSidebar();
|
||||
|
||||
$open.clickOutside(function(){
|
||||
hideSidebar();
|
||||
});
|
||||
// $open.clickOutside(function(){
|
||||
// hideSidebar();
|
||||
// });
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue