diff options
Diffstat (limited to 'js')
-rw-r--r-- | js/reader.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/js/reader.js b/js/reader.js index 07c167e..b141f67 100644 --- a/js/reader.js +++ b/js/reader.js @@ -629,16 +629,16 @@ const Reader = { return book.locations.load(locations); } else { $(".loading-message").html("Preparing locations…"); - return book.locations.generate(1600); + return book.locations.generate(100); } }); } else { $(".loading-message").html("Preparing locations…"); - return book.locations.generate(1600); + return book.locations.generate(100); } }).catch(function() { $(".loading-message").html("Preparing locations…"); - return book.locations.generate(1600); + return book.locations.generate(100); }); } }); @@ -688,7 +688,7 @@ const Reader = { Reader.hotkeyHandler(e); }); - rendition.on('resized', function() { + /*rendition.on('resized', function() { console.log('resized'); $(".loading").show(); @@ -700,7 +700,7 @@ const Reader = { $(".loading").hide(); }, 250); - }); + });*/ rendition.on('rendered', function(/*chapter*/) { $(".chapter").html($("<span>").addClass("glyphicon glyphicon-th-list")); |