Skip to content

Commit

Permalink
#38: user original class name
Browse files Browse the repository at this point in the history
  • Loading branch information
macjohnny committed Jun 28, 2018
1 parent 834cec9 commit ae5d9e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/mat-select-search/mat-select-search.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ export class MatSelectSearchComponent implements OnInit, OnDestroy, AfterViewIni
let element: HTMLElement = this.innerSelectSearch.nativeElement;
let panelElement: HTMLElement;
while (element = element.parentElement) {
if (element.classList.contains('mat-select-search-panel')) {
if (element.classList.contains('mat-select-panel')) {
panelElement = element;
break;
}
Expand Down

0 comments on commit ae5d9e2

Please sign in to comment.