mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-10-18 23:02:30 +02:00
Formatting
This commit is contained in:
1 parent
3487b8d0d9
commit
dc0bf00e0a
1 file changed
+5
-5
@@ -1054,15 +1054,15 @@ function Events() //{{{
|
|||||||
//
|
//
|
||||||
else if (liberator.has("MacUnix") && event.ctrlKey && event.charCode >= 27 && event.charCode <= 31)
|
else if (liberator.has("MacUnix") && event.ctrlKey && event.charCode >= 27 && event.charCode <= 31)
|
||||||
{
|
{
|
||||||
// [Ctrl-Bug 1/5] the <C-[> bug
|
if(event.charCode == 27) // [Ctrl-Bug 1/5] the <C-[> bug
|
||||||
if(event.charCode == 27)
|
|
||||||
{
|
{
|
||||||
key = "Esc";
|
key = "Esc";
|
||||||
modifier = modifier.replace('C-','');
|
modifier = modifier.replace("C-", "");
|
||||||
}
|
}
|
||||||
// [Ctrl-Bug 2,3,4,5/5] the <C-\\>, <C-]>, <C-^>, <C-_> bugs
|
else // [Ctrl-Bug 2,3,4,5/5] the <C-\\>, <C-]>, <C-^>, <C-_> bugs
|
||||||
else
|
{
|
||||||
key = String.fromCharCode(event.charCode + 64);
|
key = String.fromCharCode(event.charCode + 64);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
// special handling of the Space key
|
// special handling of the Space key
|
||||||
else if (event.charCode == 32)
|
else if (event.charCode == 32)
|
||||||
|
|||||||
Reference in new issue
Block a user