Skip to content
Snippets Groups Projects
Commit 3b93f347 authored by mathias.chouet's avatar mathias.chouet
Browse files

inputChange : protection against undefined event

parent a751119f
No related branches found
No related tags found
No related merge requests found
......@@ -406,7 +406,7 @@ export class GenericCalculatorComponent extends BaseComponent implements OnInit,
* réception d'un événement de changement de valeur d'un input
*/
public onInputChange(event: any) {
this._formulaire.resetResults([], event.symbol);
this._formulaire.resetResults([], (event ? event.symbol : undefined));
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment