disable keyboard shortcuts when the overlay is up
This commit is contained in:
parent
f7dbbb3623
commit
47f54170bb
1 changed files with 3 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue