Commit 37a3081f authored by Hirokazu Takahashi's avatar Hirokazu Takahashi

Ctrl+'-' won't work on a US keyboad with Firefox.

Firefox 17 generates 173 as the keycode for the minus key.
parent d55f5377
......@@ -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)
......
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