disable keyboard shortcuts when the overlay is up

This commit is contained in:
Bala Clark 2011-09-03 22:27:43 +02:00
parent f7dbbb3623
commit 47f54170bb

View file

@ -751,6 +751,9 @@ function ComicBook(id, srcs, opts) {
ComicBook.prototype.navigation = function (e) {
// disable navigation when the overlay is showing
if ($("#cb-loading-overlay").is(":visible")) { return false; }
var side = false;
switch (e.type) {