Browse Source

Remove comma fallback.

pull/1105/head
Sebastian Stehle 2 years ago
parent
commit
c7e08cb1ac
  1. 3
      frontend/src/app/framework/utils/keys.ts

3
frontend/src/app/framework/utils/keys.ts

@ -9,7 +9,6 @@
export module Keys { export module Keys {
const ALT = 18; const ALT = 18;
const COMMA = 188;
const CONTROL = 17; const CONTROL = 17;
const DELETE = 8; const DELETE = 8;
const ENTER = 13; const ENTER = 13;
@ -32,7 +31,7 @@ export module Keys {
export function isComma(event: KeyboardEvent) { export function isComma(event: KeyboardEvent) {
const key = event.key?.toUpperCase(); const key = event.key?.toUpperCase();
return key === ',' || event.keyCode === COMMA; return key === ',';
} }
export function isDelete(event: KeyboardEvent) { export function isDelete(event: KeyboardEvent) {

Loading…
Cancel
Save