From da47faca5c9a41f732136448461a06fc6e6fe023 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Thu, 15 Nov 2018 15:33:52 -0500 Subject: [PATCH] allow progress bars to highlight box row still --- src/angular/directives/box-row.directive.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/angular/directives/box-row.directive.ts b/src/angular/directives/box-row.directive.ts index 8269a46b64..9f2cb60368 100644 --- a/src/angular/directives/box-row.directive.ts +++ b/src/angular/directives/box-row.directive.ts @@ -30,7 +30,9 @@ export class BoxRowDirective implements OnInit { } @HostListener('click', ['$event']) onClick(event: Event) { - if (event.target !== this.el) { + const target = event.target as HTMLElement; + if (target !== this.el && !target.classList.contains('progress') && + !target.classList.contains('progress-bar')) { return; }