1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-03-06 10:55:46 +01:00

Made <S-l> and <S-L> look the same to events.js

This commit is contained in:
Ted Pavlic
2009-02-23 10:30:07 -05:00
parent eb74df729e
commit e318da7073

View File

@@ -932,6 +932,8 @@ function Events() //{{{
{ {
if (!ctrl && !alt && !shift && !meta) if (!ctrl && !alt && !shift && !meta)
return false; // an invalid key like <a> return false; // an invalid key like <a>
else if (shift)
keyname = keyname.toUpperCase();
charCode = keyname.charCodeAt(0); charCode = keyname.charCodeAt(0);
} }
else if (keyname.toLowerCase() == "space") else if (keyname.toLowerCase() == "space")