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:
parent
d009e4ed2a
commit
395008d06d
1 changed files with 2 additions and 1 deletions
|
@ -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) ||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue