mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-30 13:03:53 +01:00
allow progress bars to highlight box row still
This commit is contained in:
parent
b48c484708
commit
da47faca5c
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user