From dc0bf00e0a750e1e4a918871aa192e748c63c743 Mon Sep 17 00:00:00 2001 From: Kris Maglione Date: Sat, 24 Jan 2009 00:47:54 -0500 Subject: [PATCH] Formatting --- common/content/events.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/common/content/events.js b/common/content/events.js index a8f8396e..dc5b7b5d 100644 --- a/common/content/events.js +++ b/common/content/events.js @@ -1054,15 +1054,15 @@ function Events() //{{{ // else if (liberator.has("MacUnix") && event.ctrlKey && event.charCode >= 27 && event.charCode <= 31) { - // [Ctrl-Bug 1/5] the bug - if(event.charCode == 27) + if(event.charCode == 27) // [Ctrl-Bug 1/5] the bug { key = "Esc"; - modifier = modifier.replace('C-',''); + modifier = modifier.replace("C-", ""); } - // [Ctrl-Bug 2,3,4,5/5] the , , , bugs - else + else // [Ctrl-Bug 2,3,4,5/5] the , , , bugs + { key = String.fromCharCode(event.charCode + 64); + } } // special handling of the Space key else if (event.charCode == 32)