Merge pull request #220 from vaj/keyinput

Ctrl+'-' won't work on a US keyboad with the latest Firefox.
This commit is contained in:
Joel Martin 2012-12-23 21:09:16 -08:00
commit 49d5cee91e
1 changed files with 4 additions and 0 deletions

View File

@ -110,6 +110,10 @@ function getKeysymSpecial(evt) {
if (Util.Engine.gecko || Util.Engine.presto) {
keysym = 45; }
break;
case 173 : // - (Mozilla)
if (Util.Engine.gecko) {
keysym = 45; }
break;
case 189 : keysym = 45; break; // - (IE)
case 190 : keysym = 46; break; // . (Mozilla, IE)
case 191 : keysym = 47; break; // / (Mozilla, IE)