pnm wrote:
Different keyboards produce different "key codes" for keys like '-', '=' etc.
In this case, it turns out different browsers produce different keycodes
for the same key :-(
See for example:
http://www.javascripter.net/faq/keycodes.htmAbout halfway down the page it lists 109 as the keycode for "-" in Firefox and Opera,
and 189 as the keycode for the same key in IE, Safari, and Chrome.
Both these codes are caught by my software. Now it seems the keycode for "-" has
changed to 173 for Firefox (?!) (also on my keyboard (!)).
In any case, I added 173, so the regular "-" key should work again now...
Patrick
Edit: other people have run into the same problem:
https://github.com/openlayers/openlayers/issues/605Not sure yet if the change was intentional.