keyboardNavigation: Fix keys 'c' and 'v' from webView
commit60908fd14356f3a01d957d2a29c10a07460f0870
authorJohannes Gilger <heipei@hackvalue.de>
Wed, 10 Jun 2009 15:13:35 +0000 (10 17:13 +0200)
committerPieter de Bie <frimmirf+gitx@gmail.com>
Thu, 11 Jun 2009 12:06:09 +0000 (11 13:06 +0100)
tree152c5833cb5e3bf6462cebf7a8fb51c0bcc6419c
parentce3d8ae34c6e74f970400952b2e1a984a5f96102
keyboardNavigation: Fix keys 'c' and 'v' from webView

This fixes two small bugs:
1. The JavaScript-method is called "showDiff" instead of "showDiffs"
since cfbcfc1f38ac. That's why the 'v' button didn't work since then.
2. Commit f05d0188fce3b5e introduced an error when trying to access
"event" for key-presses from Cocoa, which resulted in an error and
therefore made the following if-statements unreachable.

Signed-off-by: Johannes Gilger <heipei@hackvalue.de>
html/lib/keyboardNavigation.js