Skip to content

Commit

Permalink
fix(dropdown): toggle does not close when clicking directly on an ico…
Browse files Browse the repository at this point in the history
…n in Chrome (#851)

fixes #658
  • Loading branch information
NikitaForm authored and valorkin committed Sep 1, 2016
1 parent cd78f84 commit 341dcf8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/dropdown/dropdown.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export class DropdownService {
}

if (event && this.openScope.toggleEl &&
this.openScope.toggleEl.nativeElement === event.target) {
this.openScope.toggleEl.nativeElement.contains(event.target)) {
return;
}

Expand Down

0 comments on commit 341dcf8

Please sign in to comment.