Skip to content

Commit

Permalink
add semicolon
Browse files Browse the repository at this point in the history
  • Loading branch information
Dale Nguyen authored Sep 24, 2023
1 parent 7f04430 commit eda9a22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/components/inputnumber/inputnumber.ts
Original file line number Diff line number Diff line change
Expand Up @@ -933,7 +933,7 @@ export class InputNumber implements OnInit, AfterContentInit, OnChanges, Control
}

private getSelectedText() {
return window?.getSelection()?.toString().replaceAll(/[^0-9']/g, '') || ''
return window?.getSelection()?.toString().replaceAll(/[^0-9']/g, '') || '';
}

onPaste(event: ClipboardEvent) {
Expand Down

0 comments on commit eda9a22

Please sign in to comment.