1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-24 15:49:44 +02:00

Allow hypen in tag names with Firefox

When keycodes are different across browsers. :|
This commit is contained in:
McMatts 2019-03-04 18:59:06 +00:00
parent d009e4ed2a
commit 395008d06d

View file

@ -52,7 +52,7 @@ export default Component.extend(Notifier, {
return true;
}
if (e.shiftKey) {
if (e.shiftKey) {
return false;
}
@ -65,6 +65,7 @@ export default Component.extend(Notifier, {
e.which === 40 ||
e.which === 45 ||
e.which === 189 ||
e.which === 173 ||
e.which === 8 ||
e.which === 127 ||
(e.which >= 65 && e.which <= 90) ||