diff options
| author | mrmr1993 | 2015-07-26 22:15:53 +0100 |
|---|---|---|
| committer | mrmr1993 | 2015-07-26 22:29:53 +0100 |
| commit | efb80f9b1cc60f0acdc733a2d42227eb566f909a (patch) | |
| tree | 6368a3360a79bf16724a4db2f1c67b5703aac9eb /lib/dom_utils.coffee | |
| parent | 51b21408870fbcd2e59c806a24082d9bdd5c5e84 (diff) | |
| download | vimium-efb80f9b1cc60f0acdc733a2d42227eb566f909a.tar.bz2 | |
Only apply passkeys to single character keys explicitly
Before this change, a string in KeyboardUtils.keyNames could have the
key it represents disabled if
* its letters were in alphabetical order, and
* the user has set all of its letters as passkeys, with none in between.
For example, imagining that "del" (for delete) was in
KeyboardUtils.keyNames, the passkeys "dpyl0e" would cause the delete key
to be a passkey too.
This commit fixes the issue by only applying passkeys when keyChar is a
single character.
Diffstat (limited to 'lib/dom_utils.coffee')
0 files changed, 0 insertions, 0 deletions
