1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-17 16:53:34 +00:00

allow progress bars to highlight box row still

This commit is contained in:
Kyle Spearrin
2018-11-15 15:33:52 -05:00
parent b48c484708
commit da47faca5c

View File

@@ -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;
}