Skip to content

Commit

Permalink
Remove comma fallback.
Browse files Browse the repository at this point in the history
  • Loading branch information
SebastianStehle committed Jun 25, 2024
1 parent 96efe94 commit c7e08cb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions frontend/src/app/framework/utils/keys.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@

export module Keys {
const ALT = 18;
const COMMA = 188;
const CONTROL = 17;
const DELETE = 8;
const ENTER = 13;
Expand All @@ -32,7 +31,7 @@ export module Keys {
export function isComma(event: KeyboardEvent) {
const key = event.key?.toUpperCase();

return key === ',' || event.keyCode === COMMA;
return key === ',';
}

export function isDelete(event: KeyboardEvent) {
Expand Down

0 comments on commit c7e08cb

Please sign in to comment.