Reverting change back to fix the regression:

be6646ba35
This commit is contained in:
Irakli Gozalishvili 2011-02-10 23:25:13 +08:00 committed by Fabian Jakobs
commit 2e8d62a1e3

View file

@ -197,7 +197,7 @@ StateHandler.prototype = {
// If we pressed any command key but no other key, then ignore the input.
// Otherwise "shift-" is added to the buffer, and later on "shift-g"
// which results in "shift-shift-g" which doesn't make senese.
if (hashId != 0 && (key == "" || key == String.fromCharCode(0))) {
if (hashId != 0 && (key == "" || String.fromCharCode(0))) {
return null;
}