Skip to content

Commit

Permalink
Merge pull request #2771 from sudheerj/master
Browse files Browse the repository at this point in the history
TieredMenu activeItem fix
  • Loading branch information
cagataycivici authored May 15, 2017
2 parents e652b00 + f11acd6 commit 8819939
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/tieredmenu/tieredmenu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,14 @@ export class TieredMenuSub {

constructor(public domHandler: DomHandler) {}

activeItem: Element;
activeItem: MenuItem;

onItemMouseEnter(event: Event, item: HTMLElement, menuitem: MenuItem) {
if(menuitem.disabled) {
return;
}

this.activeItem = item;
this.activeItem = menuitem;
let nextElement: HTMLElement = <HTMLElement> item.children[0].nextElementSibling;
if(nextElement) {
let sublist: HTMLElement = <HTMLElement> nextElement.children[0];
Expand Down

0 comments on commit 8819939

Please sign in to comment.