removed color enhancement keyboard shortcut

This commit is contained in:
Bala Clark 2011-09-03 22:13:10 +02:00
parent a38ff55da0
commit efa87a5d64

View file

@ -78,10 +78,7 @@ function ComicBook(id, srcs, opts) {
keyboard: {
next: 78,
previous: 80,
control: {
color: 69,
toolbar: 84
}
toolbar: 84
}
};
@ -765,12 +762,9 @@ function ComicBook(id, srcs, opts) {
if (e.keyCode === options.keyboard.next) { side = "right"; }
// display controls
if (e.keyCode === options.keyboard.control.toolbar) {
if (e.keyCode === options.keyboard.toolbar) {
ComicBook.prototype.toggleToolbar();
}
if (e.keyCode === options.keyboard.control.color) {
ComicBook.prototype.toggleControl("color");
}
break;
default:
throw new ComicBookException(