mirror of
https://github.com/bitwarden/browser
synced 2025-12-18 01:03:35 +00:00
allow progress bars to highlight box row still
This commit is contained in:
@@ -30,7 +30,9 @@ export class BoxRowDirective implements OnInit {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@HostListener('click', ['$event']) onClick(event: Event) {
|
@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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user