diff --git a/lib/ComicBook.js b/lib/ComicBook.js index 31741a8..639a109 100755 --- a/lib/ComicBook.js +++ b/lib/ComicBook.js @@ -321,19 +321,7 @@ function ComicBook(id, srcs, opts) { .attr("id", "cb-loading-overlay") .addClass("cb-control") }; - /*Using left arrow key*/ - $(document).keydown(function(e) { - if (e.keyCode == 37) { - ComicBook.prototype.drawPrevPage(); - } - }); - /*Using right arrow key*/ - $(document).keydown(function(e) { - if (e.keyCode == 39) { - ComicBook.prototype.drawNextPage(); - } - }); ComicBook.prototype.renderControls = function() { $(canvas) @@ -511,7 +499,7 @@ function ComicBook(id, srcs, opts) { } }; } - + // loads pages in both directions so you don't have to wait for all pages // to be loaded before you can scroll backwards function preload(start, stop) {