Commit 49d5cee9 authored by Joel Martin's avatar Joel Martin

Merge pull request #220 from vaj/keyinput

Ctrl+'-' won't work on a US keyboad with the latest Firefox.
parents d55f5377 37a3081f
...@@ -110,6 +110,10 @@ function getKeysymSpecial(evt) { ...@@ -110,6 +110,10 @@ function getKeysymSpecial(evt) {
if (Util.Engine.gecko || Util.Engine.presto) { if (Util.Engine.gecko || Util.Engine.presto) {
keysym = 45; } keysym = 45; }
break; break;
case 173 : // - (Mozilla)
if (Util.Engine.gecko) {
keysym = 45; }
break;
case 189 : keysym = 45; break; // - (IE) case 189 : keysym = 45; break; // - (IE)
case 190 : keysym = 46; break; // . (Mozilla, IE) case 190 : keysym = 46; break; // . (Mozilla, IE)
case 191 : keysym = 47; break; // / (Mozilla, IE) case 191 : keysym = 47; break; // / (Mozilla, IE)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment