Updated comments and removed some console logs

This commit is contained in:
Martin Donnelly 2024-05-10 15:54:30 +01:00
parent 6bc5ddeb1f
commit d189365469

View File

@ -143,21 +143,28 @@ export class OmniSearchBoxComponent implements OnInit {
} }
/**
* Handle the selection option click and trigger updateModeSelection
* @param ev
* @param title
*/
selectedClickHandler(ev: MouseEvent, title: string) { selectedClickHandler(ev: MouseEvent, title: string) {
ev.stopImmediatePropagation(); ev.stopImmediatePropagation();
console.log('selectedClickHandler', title);
console.log('selectedClickHandler', ev);
this.selectedOption = title; this.selectedOption = title;
this.updateModeSelection(); this.updateModeSelection();
} }
/**
* Handle the modified option click and trigger updateMopdifierSelection
* @param ev
* @param title
*/
modifiedClickHandler(ev: MouseEvent, title: string) { modifiedClickHandler(ev: MouseEvent, title: string) {
ev.stopImmediatePropagation(); ev.stopImmediatePropagation();
console.log('selectedClickHandler', title);
console.log('selectedClickHandler', ev);
this.selectedModifier = title; this.selectedModifier = title;