Skip to content

Commit

Permalink
Fix: Test for "OUTSIDECLICK" should not consider menu children to be …
Browse files Browse the repository at this point in the history
…outside the menu
  • Loading branch information
rluba committed Feb 10, 2016
1 parent 22585e3 commit 4af1a84
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 @@ -50,7 +50,7 @@ export class DropdownService {

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

Expand Down

0 comments on commit 4af1a84

Please sign in to comment.